Browse Source

snake4: add page (#4895)

Sahil Dhiman 4 years ago
parent
commit
d70bf6ed7e
1 changed files with 28 additions and 0 deletions
  1. 28 0
      pages/linux/snake4.md

+ 28 - 0
pages/linux/snake4.md

@@ -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`