package javalabra.chess.domain;


public class Board {

	private final Square[][] squares;

	public Board() {
		squares = new Square[8][8];
		for (int row = 0; row < 8; ++row) {
			for (int column = 0; column < 8; ++column) {
				squares[row][column] = new Square(column, row);
			}
		}
	}

	public Square getSquare(int column, int row) {
		return squares[row][column];
	}

}

@@ -72,18 +72,16 @@
 Square%5B%5D
-%5B%5D
  squares
@@ -82,16 +82,16 @@
 quares;%0A
+
 %0A%09public
@@ -128,12 +128,10 @@
 are%5B
-8%5D%5B8
+64
 %5D;%0A%09
@@ -226,26 +226,31 @@
 %09squares%5Brow
-%5D%5B
+ * 8 + 
 column%5D = ne
@@ -357,10 +357,15 @@
 %5Brow
-%5D%5B
+ * 8 + 
 colu

use one dimensional array for board