finished base multiplayer game code