Interaction between Game and Server

There are 4 main interactions between the Game Client and the Server.


 * 1) Login (must be completed successfully before attempting the other interactions)
 * 2) Logout
 * 3) Upload tank
 * 4) Download tank

Method of communication
All connections will be in the form of POST requests, with various parameter formats depending on the nature of the request. The requests are sent to proj-pc31.cs.uow.edu.au/..., where ... is the page title.

A list of each request from the game and their formats are defined below:

Login
''Parameter names are case-sensitive! Login process is managed through a request to Connect.aspx ''

Logout
''No parameters, managed by session variables. Logout process is managed through a request to Disconnect.aspx''

Upload
''Parameter names are case-sensitive! Login process is managed through a request to UploadTank.aspx''