game_function