KFBR

Fall 2017

As a sophomore in high school, my favorite class wasn’t math or CS (although we didn’t have any CS classes at the time), but history. A huge part of that was my teacher for AP European History, who had a huge impact on me and whom I consider to be one of my role models to this day.

Well, in 2017 I decided I wanted to step away from high-level graphics libraries like SDL and Java Swing, and learn OpenGL. The culmination of my hard work was KFBR, a first-person multiplayer battle royale (recall Fortnite and PUBG just came out). KFBR, King Frederick’s Battle Royale was named after King Frederick I of Prussia, the military-obsessed father of Frederick the Great. Allegedly, on his deathbed bed Frederick I had his “blue boys” (soldiers) parade around him. The game was originally KHBR, named after King Henry VIII, but I felt that it would be more like Frederick I to host a Hunger Games-style battle royale.

One thing I wasn’t able to figure out was good collision detection and I settled for manually (and poorly) placed AABBs. However, I vowed to return to this problem and years later I did with Project Oort.

Some technical implementations:

  • TCP server and client
  • Blinn-Phong lighting model and shadow mapping from a directional light source
  • Static model loading, skyboxes, blur

The code is an absolute mess, and I just keep this project here for an interesting data point in my historical archive.


Source