mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-08 20:45:23 +02:00
32 lines
429 B
Markdown
32 lines
429 B
Markdown
# bastet
|
|
|
|
> Clone of the game Tetris in the terminal.
|
|
> More information: <https://fph.altervista.org/prog/bastet.html>.
|
|
|
|
- Start a Tetris game:
|
|
|
|
`bastet`
|
|
|
|
- Navigate the piece horizontally:
|
|
|
|
`{{<ArrowLeft>|<ArrowRight>}}`
|
|
|
|
- Rotate the piece clockwise or counterclockwise:
|
|
|
|
`{{<Space>|<ArrowUp>}}`
|
|
|
|
- Soft drop the piece:
|
|
|
|
`<ArrowDown>`
|
|
|
|
- Hard drop the piece:
|
|
|
|
`<Enter>`
|
|
|
|
- Pause the game:
|
|
|
|
`<p>`
|
|
|
|
- Quit the game:
|
|
|
|
`<Ctrl c>`
|