public void init() {
		grid = new Cell[8][8];
		
		for (int x = 0; x < 8; x++) {
			for (int y = 0; y < 8; y++) {
				grid[x][y] = new CellImpl(new Point(y, x));
			}
		}
		
		for (int q = 0; q < 6; q++) {
			grid[0][q + 1].setPiece(Checker.WHITE);
			grid[7][q + 1].setPiece(Checker.WHITE);
			grid[q + 1][0].setPiece(Checker.BLACK);
			grid[q + 1][7].setPiece(Checker.BLACK);
		}
		
		gridCount = new int[4][3][16];
		for (int q = 0; q < 4; q++) {
			for (int w = 0; w < 3; w++) {
				for (int e = 0; e < 16; e++) {
					gridCount[q][w][e] = 0;
				}
			}
		}


		for (int x = 0; x < 8; x++) {
			for (int y = 0; y < 8; y++) {
				for (int direction = 0; direction < DIRECTION.length; direction++) {
					int d = DIRECTION[direction];
					int color = getCell(new Point(y, x)).getPieceColor();
					int index = getIndex(new Point(y, x), d);
					gridCount[d][color][index]++;
				}
			}
		}
	}