Skip to content

disq/galactic_tetris

Repository files navigation

Galactic Tetris

Tetris on the Galactic Unicorn!

demo

How to Flash

Copy the galactic_tetris.uf2 file to the automatically mounted volume when the Unicorn is in BOOTSEL mode.

Usage

Hold the Unicorn sideways with the A/B/C/D buttons on the bottom and use the buttons to play.

  • A Left
  • B Down
  • C Up
  • D Right

Game starts in demo/attract mode and will (badly) auto-play some games. During this time, the bottom row (when you're holding the device as intended) will light up. Use any of the A/B/C/D keys to stop the demo mode and start playing.

Brightness is automatically taken care of using the light sensor. Use the 'Lux' buttons to adjust the brightness manually.

Volume keys to manually decrease/increase speed or Zzz button to freeze the game.

Build

mkdir build && cd build
cmake ..
make -j8
cp -X galactic_tetris.uf2 /Volumes/RPI-RP2/ # -X is for macOS

Acknowledgements