Game workflow

This describes how generally the server, client and database comunicate.
Because of the complexity of the game and resource loading, this should give both general and in depth overview on following:



Note: Client reffers to application, not human behind computer

This is sub-layout for documentation pages

Top

1 General server / database / client interaction

The following diagram tries to map the most important events that occur on server and the communication between server and database.
Moreover, there is outlined what happens when, for example, client connects to server, or when client requests to log in.

2 Server startup

Server does following upon startup:

3 Client startup

Note: startup reffers to opening browser and letting socket.io connect

Client does following upon startup: