mirror of https://github.com/CrimsonTome/tldr.git
37 lines
458 B
Markdown
37 lines
458 B
Markdown
|
# 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`
|