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@11:2bdc83648d7f, 2020-03-29 (annotated)
- Committer:
- WiredHome
- Date:
- Sun Mar 29 18:21:14 2020 +0000
- Revision:
- 11:2bdc83648d7f
- Parent:
- 5:5ce8976cd303
Pick up a bug-fix on jpeg rendering
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sergun2311 | 3:36de55e63fdf | 1 | #include "Block.h" |
sergun2311 | 4:107d1d5a642e | 2 | #include "Define.h" |
sergun2311 | 0:645509d95b8d | 3 | |
sergun2311 | 1:b4aa36ae11ac | 4 | extern int Field[MAXY][MAXX]; |
sergun2311 | 1:b4aa36ae11ac | 5 | int checkLine(); |
sergun2311 | 3:36de55e63fdf | 6 | bool checkGameOver(); |
sergun2311 | 3:36de55e63fdf | 7 | void saveToField(Block NewBlock); |