2020-11-07 19:28:20 +00:00
|
|
|
# yetris
|
|
|
|
|
|
|
|
> Clone of the game Tetris in the terminal.
|
|
|
|
> More information: <https://github.com/alexdantas/yetris>.
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Start a Tetris game:
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
`yetris`
|
|
|
|
|
|
|
|
- Navigate the piece horizontally:
|
|
|
|
|
2024-01-01 18:26:11 +00:00
|
|
|
`{{Left|Right arrow key}}`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Rotate the piece clockwise or counterclockwise:
|
|
|
|
|
|
|
|
`{{x|z}}`
|
|
|
|
|
|
|
|
- Hold a piece (only one allowed at a time):
|
|
|
|
|
|
|
|
`c`
|
|
|
|
|
|
|
|
- Soft drop the piece:
|
|
|
|
|
2024-01-01 18:26:11 +00:00
|
|
|
`<Down arrow key>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Hard drop the piece:
|
|
|
|
|
2024-01-01 18:26:11 +00:00
|
|
|
`<Spacebar>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Pause/unpause the game:
|
|
|
|
|
|
|
|
`p`
|
|
|
|
|
|
|
|
- Quit the game:
|
|
|
|
|
|
|
|
`q`
|