check game mode