Viewing file on branch master
| / | snake | README.md |
| 1 | # snake |
| 2 | |
| 3 | Classic snake game. Move with arrow keys, eat the apples to grow longer. Space to pause, any key to resume. q to quit. |
| 4 | |
| 5 | |
| 6 | ## Config |
| 7 | |
| 8 | * `Y`: Height of play area |
| 9 | * `X`: Width of play area |
| 10 | * `DELAY`: The delay, in milliseconds, between each movement |
| 11 | * `WALLS`: Either `true` or `false`. If `true`, enable solid walls (game over on crash). Otherwise, allow snake to teleport through walls. |
| 12 | * `SEED`: Seed value for PRNG |
| 13 |