Class CheckGameMode