File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,23 @@ How to Write an Emulator (Chip-8 Interpreter) by Laurence Muller
1212http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
1313
1414Key mapping is based on hexadecimal keypad:
15- | 1| 2| 3| C| =>| 1| 2| 3| 4|
16- | 4| 5| 6| D| =>| Q| W| E| R|
17- | 7| 8| 9| E| =>| A| S| D| F|
18- | A| 0| B| F| =>| Z| X| C| V|
1915
20- For Tetris:
21- 4 -> ROTATE
22- 5 -> LEFT
23- 6 -> RIGHT
16+ |1|2|3|C| => |1|2|3|4|
17+ |4|5|6|D| => |Q|W|E|R|
18+ |7|8|9|E| => |A|S|D|F|
19+ |A|0|B|F| => |Z|X|C|V|
20+
21+ Tetris:
22+
23+ 4 -> ROTATE
24+ 5 -> LEFT
25+ 6 -> RIGHT
2426
2527Pong:
26- Q -> P1 UP
27- 1 -> P1 DOWN
28- 4 -> P2 UP
29- R -> P2 DOWN
3028
31- TODO: change gameplay speed
29+ Q -> P1 UP
30+ 1 -> P1 DOWN
31+ 4 -> P2 UP
32+ R -> P2 DOWN
33+
34+ <i >TODO: change gameplay speed to be more playable</i >
You can’t perform that action at this time.
0 commit comments