mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
bastet: add page (#4940)
This commit is contained in:
parent
6b7587edb1
commit
08485f839a
1 changed files with 32 additions and 0 deletions
32
pages/common/bastet.md
Normal file
32
pages/common/bastet.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
`{{Left|Right}} arrow key`
|
||||||
|
|
||||||
|
- Rotate the piece clockwise or counterclockwise:
|
||||||
|
|
||||||
|
`{{Spacebar|Up arrow key}}`
|
||||||
|
|
||||||
|
- Soft drop the piece:
|
||||||
|
|
||||||
|
`Down arrow key`
|
||||||
|
|
||||||
|
- Hard drop the piece:
|
||||||
|
|
||||||
|
`Enter`
|
||||||
|
|
||||||
|
- Pause the game:
|
||||||
|
|
||||||
|
`p`
|
||||||
|
|
||||||
|
- Quit the game:
|
||||||
|
|
||||||
|
`Ctrl + C`
|
Loading…
Add table
Reference in a new issue