Viewing file on branch master
| / | tetris | README.md |
| 1 | # Tetris |
| 2 | |
| 3 | Classic Tetris. |
| 4 | |
| 5 | * Left/right arrow keys to move left or right. |
| 6 | * Up arrow key to rotate tetromino. |
| 7 | * Down arrow key to force one block down. |
| 8 | * Space to immediately drop tetromino. |
| 9 | * q to quit. |
| 10 | |
| 11 | ## Config |
| 12 | |
| 13 | * `X`: Integer, number of columns |
| 14 | * `Y`: Integer, number of rows |
| 15 | * `HIGHLIGHT`: Either true/false, whether or not to highlight blocks |
| 16 | * `SEED`: Integer, specify PRNG seed |
| 17 | * `GRAVITY`: Integer, specify initial gravity in milliseconds |
| 18 |