moved 'redirect_to new_game_path' to within the if condition