The first run of the web application
The wep app is the front end currently being developed. All other front ends are currently not in development.
- create a launch config for the web server
- create a new google 'web application' launch config
- project is 'starcraft.webapp'
- main class is 'com.google.gwt.dev.DevMode'
- run build-in server on port 8888
- GWT module is the 'StarCraftWebApp' from the 'starcraft.webapp' project
- app engine is not set
- the program arguments are filled in automatically
- add '-Xmx512m -Ddebug' as VM args
- compile the web project with the GWT compiler
- launch the server
- open three tabs in Firefox
- Initialization Phase
- register a user in each tab, i.e. user1, user2 and user3
- in one tab, create a game name, i.e. mygame
- in the other tabs, select the new game (its almost invisble in the current color scheme) and double click, or press join
- in all tabs, select a faction and select 'ready'

- Setup Phase
- now, the main screen should be visible in all tabs
- one of the player is active (green bar, other have a red one)
- this player has to start by dragging one of his planets to the center of the screen into the drop field
- a planet can be turned before it is placed, by right-clicking on it
- the green bars indicate 'connector', red bars indicate 'no connector' on that side
- if planets are placed so that two connectors are next to each other, a connection is placed automatically
- after placing the planet, the player can optionally place the base on the planet
- 'done' has to be pressed to finish the turn
- if all planets and bases have been placed, the starting force has to be placed in the same way
- remember to press 'done' to finish the turn
- Planning Phase
- the first player can now start to place the first order token