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

yetris — Clone of the game Tetris in the terminal. More information: <https://github.com/alexdantas/yetris#co

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

Problem

How to use the yetris command: Clone of the game Tetris in the terminal. More information: <https://github.com/alexdantas/yetris#controls>.

Solution

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>

Code Snippets

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>

Context

tldr-pages: linux/yetris

Revisions (0)

No revisions yet.