示例#1
0
文件: Board.cs 项目: jurijw/ChessGame
 public void Show()
 {
     for (int y = 0; y < BoardConfiguration.GetLength(0); y++)
     {
         for (int x = 0; x < BoardConfiguration.GetLength(1); x++)
         {
             Console.Write(string.Format($"  {BoardConfiguration[y, x]}  "));
         }
         Console.Write(Environment.NewLine);
         Console.Write(Environment.NewLine);
     }
 }