mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 04:26:01 +02:00
snake4: add page (#4895)
This commit is contained in:
parent
a2649b54cc
commit
d70bf6ed7e
1 changed files with 28 additions and 0 deletions
28
pages/linux/snake4.md
Normal file
28
pages/linux/snake4.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# snake4
|
||||||
|
|
||||||
|
> Snake game in the terminal.
|
||||||
|
> More information: <https://manpages.debian.org/snake4/snake4.6.en.html>.
|
||||||
|
|
||||||
|
- Start a snake game:
|
||||||
|
|
||||||
|
`snake4`
|
||||||
|
|
||||||
|
- Choose level:
|
||||||
|
|
||||||
|
`{{1|2|3|4|5}}`
|
||||||
|
|
||||||
|
- Navigate the snake:
|
||||||
|
|
||||||
|
`{{Up|Down|Left|Right}} arrow key`
|
||||||
|
|
||||||
|
- Pause game:
|
||||||
|
|
||||||
|
`Spacebar`
|
||||||
|
|
||||||
|
- Quit game:
|
||||||
|
|
||||||
|
`q`
|
||||||
|
|
||||||
|
- Show the high scores:
|
||||||
|
|
||||||
|
`snake4 --highscores`
|
Loading…
Add table
Reference in a new issue