func (b Board) Solved() bool {
	for rowNdx, row := range b.Grid {
		if !validLine(b.RowHints[rowNdx], row) {
			return false
		}
	}
	for i := 0; i < len(b.Grid[0]); i++ {
		if !validLine(b.ColHints[i], getCol(b, i)) {
			return false
		}
	}

	return true
}
// Solved checks a board to see if it's solved
Solved checks a board to see if it's solved
// Solved checks a board to see if it ' s solved
func (b Board) Solved() bool {
	for rowNdx, row := range b.Grid {
		if !validLine(b.RowHints[rowNdx], row) {
			return false
		}
	}
	for i := 0; i < len(b.Grid[0]); i++ {
		if !validLine(b.ColHints[i], getCol(b, i)) {
			return false
		}
	}
	return true
}
func ( b Board ) Solved ( ) bool { for rowNdx , row := range b . Grid { if ! validLine ( b . RowHints [ rowNdx ] , row ) { return false } } for i := 0 ; i < len ( b . Grid [ 0 ] ) ; i ++ { if ! validLine ( b . ColHints [ i ] , getCol ( b , i ) ) { return false } } return true }
Solved checks a board to see if it's solved
Solved checks a board to see if it ' s solved