I created a simple game in which 2 players make simultaneous choices in each round, and the winner of the round is determined by the set of rules specific to the game. It looks like Rock Paper scissors work.
I would like to be able to offer this game online, where 2 players can find and play against each other. There would be some central server for arbitration of the game, and then each player would interact with the game using some kind of game client of our choice that we provide (i.e. based on the Internet, on mobile devices, Flash, etc. )
Obviously, a player can also play against a computer opponent that we could provide. I would also like to be able to let programmers send the computer programs that they wrote in order to act as players and play against other programs in some kind of tournament.
I understand that the specifics of my game should certainly be written from scratch, but it seems that all the work that the servers had to do in order to communicate with clients and maintain the state of the game was probably done many times before. This is probably the bulk of the work.
Does anyone have any ideas how this can be done quickly and easily? Are servers with some standard interface available for displaying new games? Is there any open source game server? How would you do that?
source share