jeremydover / ORsudoku

A Python class which allows (relatively) easy modeling of common (and some uncommon) Sudoku constraints for Google's ORTools SAT Solver.
GNU General Public License v3.0
0 stars 0 forks source link

Add support for Rossini sudoku #12

Closed jeremydover closed 2 years ago

jeremydover commented 2 years ago

In Rossini sudoku, an arrow on a row or column indicates that the first three digits next to the clue in the row/column strictly increase in the direction of the arrow. For larger boards, it seems reasonable to change "first three cells" to "first region". Negative constraint is possible, indicating these digits neither increase nor decrease.

jeremydover commented 2 years ago

Implemented in 9/11/2022 push. Implemented condition as either "first region" or "first X cells", where setter defines X.