Skip to content

elsaferrara/tetris

Repository files navigation

Tetris

SPARK tetris example for Raspberry Pico Display

Build and try the demo

Download the tool to convert ELF file to uf2 file :

$ git clone https://github.com/raspberrypi/pico-sdk.git
$ pico-sdk/tools/elf2uf2
$ mkdir build
$ cd build
$ cmake ..
$ make

Clone the repo and go to the main directory :

$ git clone --recurse-submodules https://github.com/elsaferrara/tetris
$ cd tetris

Build with Alire and convert to uf2 :

$ alr build
$ mkdir bin
$ ~/pico-sdk/tools/elf2uf2/build/elf2uf2 -v obj/main bin/main.uf2

Plug the board while pressing the BOOTSEL button. After that, you can put your file in the Raspberry Pico folder and play !

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages