Sandbox Game Jam

I have been programming a lot of silly things in C lately so when this 2-day game jam was announced at Sandbox I was very excited to use Raylib to make a game for it.

Because of the nature of game jams and time crunches, I have created possibly the worst code in human existance, but it works. I must have forgotten how DIY everything is when you don’t have a game engine so a lot of values are just hard coded, and because I was trying to go fast a lot of it is pure spaghetti now that I’m looking back through it.

The theme for this jam was “Unusual Controls”, so I took an ESP32 I had laying around and hooked up a hall sensor to it (this part was the physical cookie). Then I placed a magnet inside of a mug so that when you dip the sensor into the mug, it triggers dipping the cookie in the game.

Try it for yourself here (You can use space instead of the physical cookie to play the game).