Message Spec

Message_Type	Sender		Contents					Description

LOGIN			Client		[username],[password]
ANON_LOGIN		Client		N/A							Sent if the client wants an anonymous login
LOGIN_ACK		Server		N/A							Server accepted login. Maybe sends additional info, like stats
ANON_LOGIN_ACK	Server		[username]					Server determines a username for the anon user
LOGIN_ERR		Server		Error message				Indicates an error with the login, probably a wrong password

GAME_INFO		Server		Info about one game			When a player joins the lobby, server sends one of these
							(See below for format)		for each game that's currently looking for players. The
														server also sends one (containing all info about the game)
														each time something about an open game changes

GAME_INFO format:

[name],[current players],[max players]