![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.
Field.h@4:107d1d5a642e, 2017-03-18 (annotated)
- Committer:
- sergun2311
- Date:
- Sat Mar 18 14:45:16 2017 +0000
- Revision:
- 4:107d1d5a642e
- Parent:
- 3:36de55e63fdf
Tetris V1
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); |