elsaferrara / tetris

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Ada 100.0%