1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/yetris.md

37 lines
468 B
Markdown
Raw Normal View History

2020-11-07 19:28:20 +00:00
# yetris
> Clone of the game Tetris in the terminal.
> More information: <https://github.com/alexdantas/yetris>.
- Start a Tetris game:
2020-11-07 19:28:20 +00:00
`yetris`
- Navigate the piece horizontally:
`{{<ArrowLeft>|<ArrowRight>}}`
2020-11-07 19:28:20 +00:00
- Rotate the piece clockwise or counterclockwise:
`{{<x>|<z>}}`
2020-11-07 19:28:20 +00:00
- Hold a piece (only one allowed at a time):
`<c>`
2020-11-07 19:28:20 +00:00
- Soft drop the piece:
`<ArrowDown>`
2020-11-07 19:28:20 +00:00
- Hard drop the piece:
`<Space>`
2020-11-07 19:28:20 +00:00
- Pause/unpause the game:
`<p>`
2020-11-07 19:28:20 +00:00
- Quit the game:
`<q>`