using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CommunityToolkit.Mvvm.ComponentModel; namespace TicTacToe { partial class TicTacToeViewModel : ObservableObject { [ObservableProperty] char[][] grid = new char[][] { new char[] { ' ', ' ', ' ' }, new char[] { ' ', ' ', ' ' }, new char[] { ' ', ' ', ' ' }, }; char currentTurn = 'O'; public TicTacToeViewModel() { } } }