mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 03:50:31 +00:00
Update cheatsheets
This commit is contained in:
41
linux/yetris
Normal file
41
linux/yetris
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
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>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user