Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Puzzle RecursiveSolve(Puzzle p, int idx)
- {
- // start with simple filter to narrow down recursive paths
- // puzzle is still solved without this line, but it takes at least 20x longer
- while( p.board.Any(cell => cell.FilterPossibles()) ); // while(); <- empty while loop is intentional
Add Comment
Please, Sign In to add comment