public int[,] ToArrayGameboard()
{
int[,] gameboard = new int[10,10];
for (int i = 0; i < 10; ++i)
{
for (int j = 0; j < 10; ++j)
{
gameboard[i, j] = (this.Board[i * 10 + j].Color != Color.White) ? 0 : 1;
}
}
return gameboard;
}
#endregion