Tetris for the RA8875, derived from another users implementation.
Fork of Tetris by
Tetris, adapted to the RA8875 graphics library and display.
As currently implemented, this version is defined for the 800x480 display. A number of macros can adapt it for other screen resolutions.
Further, while presently configured for landscape mode, it should be fairly easy to reconfigure it for portrait mode.
Diff: Tetris/Field.h
- Revision:
- 5:5ce8976cd303
- Parent:
- 4:107d1d5a642e
diff -r 107d1d5a642e -r 5ce8976cd303 Tetris/Field.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tetris/Field.h Sat Mar 18 22:30:32 2017 +0000 @@ -0,0 +1,7 @@ +#include "Block.h" +#include "Define.h" + +extern int Field[MAXY][MAXX]; +int checkLine(); +bool checkGameOver(); +void saveToField(Block NewBlock); \ No newline at end of file