Created A.reset(), renamed init_map() to reset_map().
Moved more initialization stuffs to A.reset()..
Added new game status GAME_STATUS_MENU, reorganized structure of A.set_status().
Moved A.reset() call into A.set_status().
Added menu graphics and option toggling method A.menu_toggle().
Added handling of "menu" and "options_update".
Added a message when connected to the other player.
The menu is now hidden by default.
menu: Default value for "new level" is now "yes".
menu: "ready to play" is now reset to "no" when the game is started.
A.reset(): now the "select" tool is the default.
Added GAME_STATUS_DISCONNECTED, moved message handling to A.set_status().
Changed set_status() to keep the intro text displayed.
Added handling of the switched sides.
The "host" player is now always player 1.
Added checks for the existance of partner socket.
Fixed a typo in variable names.
Merge pull request #1 from gheja/dev-menu

Implemented game menu, added GAME_STATUS_MENU and GAME_STATUS_DISCONNECTED game statuses.