LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

netris

network-capable Tetris game

TLDR

Play Tetris solo
$ netris
copy
Host networked game
$ netris -w
copy
Connect to host
$ netris -c [host]
copy
Set difficulty
$ netris -l [5]
copy
Two player local
$ netris -2
copy

SYNOPSIS

netris [options]

DESCRIPTION

netris is a network-capable Tetris game. Play solo or against others over network.The tool provides classic Tetris gameplay. Supports head-to-head competition.

PARAMETERS

-w

Wait for an opponent (server mode).
-c HOST
Connect to opponent at HOST (client mode).
-p PORT
Use the given TCP port (default 9284).
-l LEVEL
Starting level (1–9).
-s SPEED
Initial drop speed (higher is faster).
-k KEYS
Use a custom keyset string.
-F
"Fair" mode — both players get the same piece sequence.
-D
Do not show the next piece preview.
-i SECS
Request a game invitation timeout.
-r PATH
Run a robot opponent executable.
-S FILE
Save (or replay) the game session to/from FILE.
-2
Two-player local mode on the same terminal.
-h
Display help information.

CAVEATS

Terminal game. Network play requires setup. Classic Tetris rules.

HISTORY

netris was created to provide networked Tetris gameplay over the internet using TCP/IP.

SEE ALSO

bastet(1), tetrinet(1), bsdgames(1)

Copied to clipboard
Kai