From 17968341f1f5b803ac91612bcf2a12dea13a9e16 Mon Sep 17 00:00:00 2001 From: Sahil Dhiman <52946452+sahilister@users.noreply.github.com> Date: Sat, 7 Nov 2020 19:28:20 +0000 Subject: [PATCH] yetris: add page (#4938) --- pages/linux/yetris.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pages/linux/yetris.md diff --git a/pages/linux/yetris.md b/pages/linux/yetris.md new file mode 100644 index 00000000000000..c531681b170b56 --- /dev/null +++ b/pages/linux/yetris.md @@ -0,0 +1,40 @@ +# yetris + +> Clone of the game Tetris in the terminal. +> More information: . + +- Start a tetris game: + +`yetris` + +- Navigate the piece horizontally: + +`{{Left|Right}} arrow key` + +- Rotate the piece clockwise or counterclockwise: + +`{{x|z}}` + +- Hold a piece (only one allowed at a time): + +`c` + +- Soft drop the piece: + +`Down arrow key` + +- Hard drop the piece: + +`Spacebar` + +- Pause/unpause the game: + +`p` + +- Quit the game: + +`q` + +- Show the help during the game: + +`h`