beginning of game server implementation