mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
430 B
Plaintext
34 lines
430 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# snake4
|
|
|
|
> Snake game in the terminal.
|
|
> More information: <https://manned.org/snake4>.
|
|
|
|
- Start a snake game:
|
|
|
|
`snake4`
|
|
|
|
- Choose level:
|
|
|
|
`{{<1>|<2>|<3>|<4>|<5>}}`
|
|
|
|
- Navigate the snake:
|
|
|
|
`{{<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>}}`
|
|
|
|
- Pause game:
|
|
|
|
`<Space>`
|
|
|
|
- Quit game:
|
|
|
|
`<q>`
|
|
|
|
- Show the high scores:
|
|
|
|
`snake4 --highscores`
|