HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bastet — Clone of the game Tetris in the terminal. More information: <https://fph.altervista.org/prog/bastet.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandbastetcliclonegametetris

Problem

How to use the bastet command: Clone of the game Tetris in the terminal. More information: <https://fph.altervista.org/prog/bastet.html>.

Solution

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>

Code Snippets

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>

Context

tldr-pages: common/bastet

Revisions (0)

No revisions yet.