Completed
This commit is contained in:
26
Game.cs
26
Game.cs
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user