Completed

This commit is contained in:
maxwes08
2025-10-20 10:00:51 +02:00
parent 3fe7224aaf
commit cc5b6125bb
7 changed files with 129 additions and 50 deletions

26
Game.cs
View File

@@ -1,12 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
namespace TicTacToe
namespace TicTacToe
{
public class Game
{
@@ -114,14 +106,14 @@ namespace TicTacToe
{
int[][] lines =
{
new[] {0, 1, 2},
new[] {3, 4, 5},
new[] {6, 7, 8},
new[] {0, 3, 6},
new[] {1, 4, 7},
new[] {2, 5, 8},
new[] {0, 4, 8},
new[] {2, 4, 6}
[0, 1, 2],
[3, 4, 5],
[6, 7, 8],
[0, 3, 6],
[1, 4, 7],
[2, 5, 8],
[0, 4, 8],
[2, 4, 6]
};
foreach (var line in lines)