public static void Main()
byte[,] gamestate = new byte[3,3] { { 0, 1, 2}, {1, 2, 3}, {2, 3, 4} };
PrintGameBoard(gamestate);
PrintGameBoard(gamestate);
public static void PrintGameBoard(byte[,] gamestate)
Console.WriteLine("/----------------\\");
Console.WriteLine("| {0,2} | {1,2} | {2,4} |", gamestate[0,0], gamestate[0,1], gamestate[0,2]);
Console.WriteLine("|----------------|");
Console.WriteLine("| {0,2} | {1,2} | {2,4} |", gamestate[1,0], gamestate[1,1], gamestate[1,2]);
Console.WriteLine("|----------------|");
Console.WriteLine("| {0,2} | {1,2} | {2,4} |", gamestate[2,0], gamestate[2,1], gamestate[2,2]);
Console.WriteLine("/----------------\\");