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 19:59:09 +02:00
|
|
|
- Start a Tetris game:
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
`yetris`
|
|
|
|
|
|
|
|
- Navigate the piece horizontally:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`{{<ArrowLeft>|<ArrowRight>}}`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Rotate the piece clockwise or counterclockwise:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`{{<x>|<z>}}`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Hold a piece (only one allowed at a time):
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<c>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Soft drop the piece:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<ArrowDown>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Hard drop the piece:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<Space>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Pause/unpause the game:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<p>`
|
2020-11-07 19:28:20 +00:00
|
|
|
|
|
|
|
- Quit the game:
|
|
|
|
|
2025-03-09 14:03:08 +02:00
|
|
|
`<q>`
|