From d70bf6ed7eaac0c124e089153b64400c721c7f26 Mon Sep 17 00:00:00 2001 From: Sahil Dhiman <52946452+sahilister@users.noreply.github.com> Date: Thu, 5 Nov 2020 19:35:06 +0000 Subject: [PATCH] snake4: add page (#4895) --- pages/linux/snake4.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/snake4.md diff --git a/pages/linux/snake4.md b/pages/linux/snake4.md new file mode 100644 index 0000000000..e60aadf47a --- /dev/null +++ b/pages/linux/snake4.md @@ -0,0 +1,28 @@ +# snake4 + +> Snake game in the terminal. +> More information: . + +- 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`