BIT.TRIP Rerunner logo

BIT.TRIP RERUNNER Server

Project
  • Launched on Steam: September 2023

Choice Provisions has been a long-time client, since before they were called “Choice Provisions”! I have helped them update and/or develop new websites before, so when they wanted to add online leaderboards and a community level sharing feature to their latest game, BIT.TRIP RERUNNER, I was happy to help.

Screenshot of the BIT.TRIP Rerunner level editor.
The BIT.TRIP RERUNNER level editor. All that data is uploaded to the server when you share it so others can download, play, and like your level! (Note: I had nothing to do with the game client/UI development)

I had been working with Laravel for some other projects at the time and was really enjoying the use of modern object-oriented PHP 8+, and as an API-only project this would let me really hone my back end programming chops.

While initially planned as a very thin layer for accessing a database of player-created levels and leaderboards, the server quickly grew to accommodate features that the local game client alone just could not do, such as:

  • Securely logging in users without a password prompt
  • Tracking likes, downloads, and playthroughs on player-created levels
  • Calculating measured level difficulty based on playthrough data
  • Calculating next suggested level and level of the day/week
  • Calculating global player rank
  • Hosting game news updates

I made heavy use of job queues, caching, and other tricks for optimizing server performance to spread out the CPU load, as well as some advanced MySQL queries for efficiently performing rank calculations and even conditional logic for level of the day/week selection criteria.

Screenshot of BIT.TRIP Rerunner credits, where my name is listed under "Server Engineer"
In case you didn’t believe me, I guess.

Check out the game on these platforms: