yetris
Visualize network traffic as a Tetris game
TLDR
Start a Tetris game
Navigate the piece horizontally
Rotate the piece clockwise or counterclockwise
Hold a piece (only one allowed at a time)
Soft drop the piece
Hard drop the piece
Pause/unpause the game
Quit the game
SYNOPSIS
yetris
DESCRIPTION
Yetris is a text-based Tetris game designed to be played in a terminal. It offers a simple, classic Tetris experience directly within your command-line environment. The game features standard Tetris gameplay, with different shaped blocks falling from the top of the screen, and the player rotating and positioning them to create horizontal lines. When a line is completed, it disappears, and the player earns points. The game continues until the blocks stack up to the top of the screen. Yetris is relatively lightweight and depends only on standard libraries for printing to the terminal screen. Therefore, it can be used on almost any platform. Due to its simplicity and ease of use, it's a good example for learning terminal programming.
Controls are often configurable to allow playing with one or two hands.
GAMEPLAY
The objective is to manipulate the falling tetrominoes to create solid horizontal lines across the playing field. Completed lines disappear, awarding points. The game continues until the stack of blocks reaches the top of the playing field, at which point the game is over. Controls usually include keys for rotating the tetrominos, moving them left and right, and dropping them faster. The specific keys can often be configured in a settings file.
Speed usually increases as the score rises. There may be configuration options to adjust the difficulty.
CONFIGURATION
Some versions of Yetris may allow configuration through command-line options or config files. This could include options for customizing the controls, the size of the playing field, the colors used, and the starting level of difficulty. The level of configurability depends on the specific implementation of Yetris.
SEE ALSO
ncurses(3)