2020-11-05 19:35:06 +00:00
|
|
|
# snake4
|
|
|
|
|
|
|
|
> Snake game in the terminal.
|
2024-09-18 11:00:49 +02:00
|
|
|
> More information: <https://manned.org/snake4.6>.
|
2020-11-05 19:35:06 +00:00
|
|
|
|
|
|
|
- Start a snake game:
|
|
|
|
|
|
|
|
`snake4`
|
|
|
|
|
|
|
|
- Choose level:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`{{<1>|<2>|<3>|<4>|<5>}}`
|
2020-11-05 19:35:06 +00:00
|
|
|
|
|
|
|
- Navigate the snake:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`{{<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>}}`
|
2020-11-05 19:35:06 +00:00
|
|
|
|
|
|
|
- Pause game:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<Space>`
|
2020-11-05 19:35:06 +00:00
|
|
|
|
|
|
|
- Quit game:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<q>`
|
2020-11-05 19:35:06 +00:00
|
|
|
|
|
|
|
- Show the high scores:
|
|
|
|
|
|
|
|
`snake4 --highscores`
|