How to talk between two computers using perl?

Jordan Y

New member
I would like to program the game "Spades" using perl. It is a 4 player game and would require the host computer to communicate with 3 other computers. Ideally, I would like to have ppl be able to enter the IP address and mask of the host (automatically, eventually), and then be able to play a multi-player game.
 
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 cards played from the other players).
 
Back
Top