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.
Tetris/Field.h
- Committer:
- WiredHome
- Date:
- 2017-03-18
- Revision:
- 5:5ce8976cd303
- Parent:
- Field.h@ 4:107d1d5a642e
File content as of revision 5:5ce8976cd303:
#include "Block.h" #include "Define.h" extern int Field[MAXY][MAXX]; int checkLine(); bool checkGameOver(); void saveToField(Block NewBlock);