@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Board other = (Board) obj;
        if (this.boardHeight != other.boardHeight) {
            return false;
        }
        if (this.boardWidth != other.boardWidth) {
            return false;
        }
        if (!Arrays.deepEquals(this.topLabels, other.topLabels)) {
            return false;
        }
        if (!Arrays.deepEquals(this.sideLabels, other.sideLabels)) {
            return false;
        }
        if (this.lightsOnStart != other.lightsOnStart) {
            return false;
        }
        if (!Objects.equals(this.light, other.light)) {
            return false;
        }
        if (!Arrays.deepEquals(this.boardArray, other.boardArray)) {
            return false;
        }
        return true;
    }