Learning mongodb by writing a simple game server.