Doom Deathmatches
Chocolate Doom supports multiplayer with minimal fuss. Unlike Vanilla Doom, you can play Chocolate Doom either over the internet or via LAN (local area network). To keep things simple, however, make sure all the players who wish to take part are running Chocolate Doom and using the same WAD file before going ahead.
Whether you play multiplayer over the internet or via a LAN, one of the participating players must act as the server and host the game. Rest assured that the host player will be able to play the game, too. UDP port 2342 must be open on each player’s router and/or firewall. (See ‘The Doom is in the Details’ on page 98 for more info.)
To host a Deathmatch game on your Pi, open Terminal or connect via SSH and run the following command: chocolate-doom -server -privateserver -deathmatch
In order to join your game, players should run the following command: chocolate-doom -connect 1.2.3.4
Replace ‘1.2.3.4’ with the public IP address of the host player’s machine. You can find your public IP by visiting websites such as http://whatismyip.com.
For players who are connected to a local network, life is even easier: simply run the game in the usual way but add the argument ‘-autojoin’, for instance: chocolate-doom -WAD DOOM1.WAD -window 640x480 -autojoin
The multiplayer window will be displayed, showing the various clients which are connected. Press the space bar when ready to start playing.
Further help for Multiplayer Mode, if you need it, is available from Chocolate Doom’s Wiki: www.chocolate-doom.org/ wiki/index.php/Multiplayer