mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
yetris: add page (#4938)
This commit is contained in:
parent
08485f839a
commit
17968341f1
1 changed files with 40 additions and 0 deletions
40
pages/linux/yetris.md
Normal file
40
pages/linux/yetris.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue