Add type cheking in game_for_score