You are currently browsing the sfcave tag archives.

SFCave for Arduino

Posted 2012.08.06 11.48 in Computers/Internet/Technology, Hobbies

Back in the days of Palm Pilot, there was this great little game called SFCave. It was easy to learn, difficult (for me at least) to master, but it was a quick-n-easy thing to pick up and play when you had a minute or two to kill.

I’ve written an Arduino sketch inspired by SFCave, and all you need is an Arduino, a 128×64 OLED from Adafruit, and a single pushbutton.

You are ‘flying’ a ribbon through a cave. You can’t control your speed (it gradually increases) and the cave gradually gets narrower and narrower. Gravity is a factor – push the button to thrust upwards, release it to fall downwards. Try not to crash into the ceiling or floor.

There is no end, the only goal is to see how long you can last / how far you can go. The score is a frame counter, each time the screen advances the score goes up. Check out the action:

You can download the sketch here: