Files
tictactoe/Main.cs
2026-01-19 17:44:00 -05:00

24 lines
361 B
C#

using Godot;
using System;
public partial class Main : Node2D
{
Player _player;
public override void _Ready()
{
_player = GetNode<Player>("Player");
_player._name = "X";
}
public override void _Process(double DELTA_)
{
if (Input.IsActionJustReleased("quit_game"))
{
GetTree().Quit();
}
}
}