![](/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.
Tetris/Field.h@5:5ce8976cd303, 2017-03-18 (annotated)
- Committer:
- WiredHome
- Date:
- Sat Mar 18 22:30:32 2017 +0000
- Revision:
- 5:5ce8976cd303
- Parent:
- Field.h@4:107d1d5a642e
Tetris for the RA8875 display, derived from sergun2311, who's commit caught my eye at just the right moment. Currently "sized" for the 800x480 display, but this can be managed in Define.h with a number of macros.
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); |