← 返回命令列表

Linux command

vitetris 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start the game

vitetris

Start without menu

vitetris -nomenu

Listen for network game

vitetris listen [34034]

Connect to a network game

vitetris connect [hostname:34034]

Show high scores

vitetris -hiscores

Set player name

vitetris -name [name] listen [port]

说明

vitetris is a terminal-based Tetris clone with gameplay similar to early Nintendo Tetris games. It features configurable controls, a high score table, two-player mode with garbage lines, network play, and joystick support on Linux. The game runs entirely in the terminal using text-mode graphics, making it playable over SSH or on systems without a graphical environment. Controls are fully customizable through the in-game options menu. Network play allows two players to compete over the internet, with each player able to choose their own difficulty level and starting height. One player listens on a port while the other connects to that address. The game has minimal dependencies, requiring only libc, and has been tested on Linux, BSD, and ported to Windows and DOS.

参数

-nomenu
Skip the menu and start playing immediately.
-hiscores
Print the high score list and exit.
-hiscores _FILE_
Read and add high score entries from FILE.
listen _port_
Listen for incoming network connections on the specified port.
connect _host:port_
Connect to a remote player for network play. Host can be an IP address or hostname. Use connect _port_ to connect to localhost.
-help
Print help and exit. Use -help game for game options and -help term for terminal options.
-js0 _device_, -js1 _device_
Specify joystick device for player 1 or 2.
-name _NAME_
Set player name for network play.

FAQ

What is the vitetris command used for?

vitetris is a terminal-based Tetris clone with gameplay similar to early Nintendo Tetris games. It features configurable controls, a high score table, two-player mode with garbage lines, network play, and joystick support on Linux. The game runs entirely in the terminal using text-mode graphics, making it playable over SSH or on systems without a graphical environment. Controls are fully customizable through the in-game options menu. Network play allows two players to compete over the internet, with each player able to choose their own difficulty level and starting height. One player listens on a port while the other connects to that address. The game has minimal dependencies, requiring only libc, and has been tested on Linux, BSD, and ported to Windows and DOS.

How do I run a basic vitetris example?

Run `vitetris` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -nomenu do in vitetris?

Skip the menu and start playing immediately.