Skip to content

Commit 01257e3

Browse files
committed
added more notes and formatting to readme
1 parent f53e228 commit 01257e3

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,23 @@ How to Write an Emulator (Chip-8 Interpreter) by Laurence Muller
1212
http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
1313

1414
Key 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

2527
Pong:
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>

0 commit comments

Comments
 (0)