def handle(command): match command.split(): case ["quit"]: print("Goodbye!") quit_game() case ["look"]: current_room.describe()