A friend of mine has made a Java version of a popular board game in Java, and has it working for multiplayer on one PC with different turns for each player. He's mentioned he wants it to eventually run from a webserver and people around the world can play the game together, but he's dismissed this as impossible (translated: Too hard to be worthwhile).
I'd like to make this happen for him, and I'm wondering:
- Do we need to completely rebuild or can we just adapt the existing code, for the game to work across a network?
- What are the advantages of a GWT based browser game, compared to a swing based client side game that updates to a server?
What is the common practice here, for going from one instance on one PC to multiple instances across several networked PCs?
The game code is very well broke and down and generalised; game logic and display are completely seperate. The main GUI is a scroll pane with a dungeon, squares are coloured for monsters, players, doors, floors etc, and are just JButtons essentially. Players have turns and then the monsters have a turn. It's very simple in essence.