mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
569 B
Plaintext
42 lines
569 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# yetris
|
|
|
|
> Clone of the game Tetris in the terminal.
|
|
> More information: <https://github.com/alexdantas/yetris#controls>.
|
|
|
|
- Start a Tetris game:
|
|
|
|
`yetris`
|
|
|
|
- Navigate the piece horizontally:
|
|
|
|
`{{<ArrowLeft>|<ArrowRight>}}`
|
|
|
|
- Rotate the piece clockwise or counterclockwise:
|
|
|
|
`{{<x>|<z>}}`
|
|
|
|
- Hold a piece (only one allowed at a time):
|
|
|
|
`<c>`
|
|
|
|
- Soft drop the piece:
|
|
|
|
`<ArrowDown>`
|
|
|
|
- Hard drop the piece:
|
|
|
|
`<Space>`
|
|
|
|
- Pause/unpause the game:
|
|
|
|
`<p>`
|
|
|
|
- Quit the game:
|
|
|
|
`<q>`
|