This is a game I used to enjoy back in the Palm Pilot days. It’s a really simple game, uses only a single pushbutton to control the action. You’re ‘flying’ through a cave and you can only control your altitude – press the button to go up, release the button to go down. The object is not to crash into the ceiling or floor.
You need an Arduino (I use a Leonardo in the demo), an Adafruit 128×64 OLED (the 1.3″ is my new favorite display!) and a single pushbutton.
NEW PRODUCT – Monochrome 1.3 128×64 OLED graphic display. These displays are small, only about 1.3″ diagonal, but very readable due to the high contrast of an OLED display. This display is made of 128×64 individual white OLED pixels, each one is turned on or off by the controller chip. Because the display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the display has such high contrast; we really like this miniature display for its crispness!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.