public int numberOfPieces(int piece) {
		int num = 0;
		for (int i = 0; i < this.board.length; i++) {
			for (int j = 0; j < this.board[i].length; j++) {
				if (this.board[i][j] == piece) {
					num++;
				}
			}
		}
		return num;
	}