Todo list
[] Fix Highscores
[ ] Toggle on/off Sound
[ ] Speed up block
[ ] Hold a piece game mechanic
(NONE OF THE CODEIS ACTUALLY WRITTEN BY ME, ALL CREDIT GOES TO drummyfish! I simply edited it)
this Tetris game was made using the SAF(Small Abstract Fish) game engine, which drummyfish also made
files: GitHub - Broskibble/Tetris-SAF: Tetris made in the SAF(Small Abstract Fish) game engine
download the tetris.h file, and the saf.h file.
- create a sketch called e.g.
tetris
- in the folder (with the ‘tetris.ino’) file put the files [tetris.h ] and [saf.h ]
- in the main sketch file (
tetris.ino
) write:
#define SAF_PLATFORM_NIBBLE
#include “tetris.h”
- compile and upload it to your nibble!