# scripts/game.gd — autoloaded as "Game" extends Node func _unhandled_input(event: InputEvent) -> void: if event.is_action_pressed("restart"): get_tree().reload_current_scene()