Each of your players needs to act as both a client and a server, or at least one of the 4 must act as a server that relays moves to the others. Check out Net::Server; it's an extensible server module that could be adapted to do what you want (basically, receive transactions consisting of the...