Refactored game code, nearly multiplayer