I have to create a small and simple GUI app in Python which is similar to a netwrok game. Let me expalain you. I need some suggestions. I might use wxPython for GUI because that is the only GUI oolkit I know.
There are 6 players in the game. They are all connected though a LAN (possible an internal network). There is one main supervirsor who starts the game and other 5 are players. Once the supervisor starts the game, a move goes randomly to any player out of the 5 players. Once a player gets a move he has to act. Based on his action next move will be generated by supervisor and sent to some other player in the network. This process goes on untill the simulation time ends. Winners and Loosers are decided by some point system which supervisor keeps track of. Some questions I have are: 1. How can I manage network messages among the players. Should multicast be used or Actor should send the message to Supervisor and he sends to all. ? What python modules can be handy in these things. 2. How can I manage moves among players. What move a player makes is visible to all others in real time, so essentially all players have the same consistent view of the game. Only the person with access can actually make a move or carry out action. Any suggestion how to carry out this thing. 3. Shold I use a flat file or some database in mySQL to measure points etc ? I want to have a repository which keep tracks of all the mvoes in the system and who played what move etc..? Any suggestions on this. 4. If you have any other input, it will be greatly appreciated. Thanks -- http://mail.python.org/mailman/listinfo/python-list