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: Field.h
- Revision:
- 0:645509d95b8d
- Child:
- 1:b4aa36ae11ac
diff -r 000000000000 -r 645509d95b8d Field.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Field.h Mon Feb 20 14:14:30 2017 +0000 @@ -0,0 +1,4 @@ +#define MAXX 10 +#define MAXY 12 + +extern int Field[MAXY][MAXX]; \ No newline at end of file