Added getGameMode method.