Files
cheatsheet-tldr/tldr/linux/snake4
2025-12-01 00:25:28 +00:00

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`