This game was created for the Fighting Jam #001 game jam.
Networking is not available in the browser version.
To play against remote opponents, you will need to ensure UDP traffic is allowed between both of your computers.
This usually involves port forwarding and ensuring firewalls are disabled on both computers.
You can also use programs like ZeroTier and Hamachi to create virtual networks between you and an opponent. The network will appear to the system as a local network. Because of this, most security restrictions are bypassed, and port forwarding is usually not required.
Only multiplayer over a local network (whether truly local or virtual) has been tested successfully.
You and your opponent will need to choose a port on which you will accept UDP
traffic from the other person. This is referred to as your local port,
which can specified when playing Box Brawl using the
In the following examples, user A has the IP address
184.108.40.206 and user B has
the IP address
220.127.116.11. User A will listen for a connection on port
User B will listen for a connection on port
Simply replace the example IP addresses and ports with actual IP addresses and ports, and run the command specified (depending on whether you are the host or the guest).
User A (who has IP
18.104.22.168) should run the following command:
boxbrawl --local 17000 --host 22.214.171.124:19000
User B (who has IP
126.96.36.199) should run the following command:
boxbrawl --local 19000 --connect 188.8.131.52:17000
In the above commands, each user first specifies which port to listen for connections from the opponent, then specifies the IP address and port where their opponent is listening for connections.
Install the dependencies listed for your platform, then run the following command:
go install code.rocketnine.space/tslocum/boxbrawl@latest
~/go/bin/boxbrawl to play.
Please share issues and suggestions here.