XTSERV(6)
๐ XTSERV(6) โ the games manual glow-up ๐ฎ
ok so real talk, this is xtserv, aka the server page from the Games Manual โ the little engine behind your synchronous multiplayer tetris era. buckle up bestie ๐ซถ
โจ NAME โจ
xtserv โ the server for a synchronous multiplayer tetris ๐
๐ฆ SYNOPSIS ๐ฆ
xtserv [ -help ] [ -once ] [ -daemon ] [ -v ] [ -norestart ] [
-nospeedup ] [ -p port ]
๐ OPTIONS ๐
-daemonโ makesxtservghost its controlling terminal entirely: it detaches, forks twice, closes all its file descriptors, andchdirs to/. lowkey iconic for runningxtservoverrshor launching it from scripts ๐-helpโ prints a lil summary of every command-line optionxtservactually recognizes. your cheat sheet fr ๐-onceโ with this one,xtservdips out (exits) as soon as every client has disconnected. bye bestie โ๏ธ-vโ verbose mode, aka main character energy for the logs ๐xtservwill print info about clients connecting, disconnecting, starting games, sending each other lines, losing, etc. it's giving narrator.-norestartโ with this,xtservwill not auto-start a new game when all players but one have lost. the players gotta press the'play'button themselves to get things going again ๐-nospeedupโ with this,xtservwill not automatically crank up the game speed every time some user's number of lines goes over10 xthe current level. no surprise speed jumps, no cap ๐-pโ specifies a port forxtservto use. the default is19503. remember the number, iykyk ๐ฅ
๐ DESCRIPTION ๐
xtserv is the server for the synchronous multi-user version of Tetris, xtris. periodt ๐ฏ
So what does it actually do? xtserv listens for connections on a TCP port, keeps an internal list of connected clients, and broadcasts information among those clients โ all to manage starting the game, setting the level and mode, and letting everyone see each other's screens ๐โจ
xtserv gets started automatically by xtris, with the option -once, if xtris doesn't find an xtserv running on localhost and no server host has been specified. it just appears, like magic ๐ง
xtserv will automatically restart a game when the one-but-last player has lost โ unless it was started with the option -norestart. That said, it will not automatically restart a game if the user is playing alone. solo vibes = manual vibes ๐ซถ
Also, xtserv will drop all bots when there are only bots left in the game. sorry bots, scene's over ๐
The server can handle clients exiting, being killed, or losing the connection โ even right in the middle of a game. resilient queen ๐ธ
โ ๏ธ killing an xtserv will cause all connected clients to exit. like, everyone. the whole party. ๐ญ
๐ SEE ALSO ๐
xtris(6), xtbot(6) โ go read those next, bestie ๐
๐ BUGS ๐
None known! ngl that's a flex. please report any bugs to the author ๐
๐ AUTHOR ๐
xtserv was written by Roger Espel Llima <roger.espel.llima@pobox.com>. absolute legend โญ
and that's the whole page, mwah ๐ โ written by Roger Espel Llima, dated Oct 13, 1996, for XTSERV(6). stan a 90s Unix icon ๐๐
๐ฆ where this page comes from
- nixos 26.05: xtris 1.15
- nixpkgs unstable: xtris 1.15
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms