public void initGame() {
		game.setLobbyTime(-1); // sets lobby time to default value
		/* receive color values for race */
		if (PlayerTypes.values()[raceSelectionPointer].getColors() != null) {
			if (PlayerTypes.values()[raceSelectionPointer].getColors()[colorSelectionPointer].equals(Color.BLUE))
				game.setUserColor("blue");
			else if (PlayerTypes.values()[raceSelectionPointer].getColors()[colorSelectionPointer]
					.equals(new Color(76, 0, 153)))
				game.setUserColor("purple");
		}
		/* quick update to user info before start of game */
		Packet10UpdateUserInfo packet = new Packet10UpdateUserInfo(game.getUserName(), game.getUserRace(),
				game.getUserColor(), game.getUserMelee(), game.getUserRanged());
		packet.writeData(game.getSocketClient());
		/* replace lobby menu panel with game panel */
		setVisible(false);
		getFrame().remove(this);
		getFrame().add(game);
	}