Skip to content

Commit

Permalink
yetris: add page (#4938)
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilister authored Nov 7, 2020
1 parent 08485f8 commit 1796834
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pages/linux/yetris.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# yetris

> Clone of the game Tetris in the terminal.
> More information: <https://github.com/alexdantas/yetris>.
- 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`

0 comments on commit 1796834

Please sign in to comment.