greater than sudoku

For fans of Killer Sudoku, Samurai Sudoku and other variants

greater than sudoku

Postby urhegyi » Wed Jul 26, 2023 10:03 pm

How can you translate this to SiseSuSo code:
Normal sudoku rules apply.
For any connection between two pieces, the cell with the larger digit has the male (outie) connector. In other words, the opening for any C shape faces the larger digit.
Image
link:
https://tinyurl.com/Jigsaw-282591898539189718
After removing the greater than constraints by hand you will get this state:
Code: Select all
+----------------+----------------+----------------+
| 2    35   46   | 67   467  1    | 8    9    35   |
| 456  9    67   | 8    3    46   | 567  1    2    |
| 8    367  1    | 5    2    9    | 46   467  34   |
+----------------+----------------+----------------+
| 9    1    8    | 2467 67   456  | 345  234  456  |
| 3    2    467  | 1    9    56   | 4567 456  8    |
| 46   67   5    | 246  8    3    | 9    2467 1    |
+----------------+----------------+----------------+
| 56   456  3    | 9    456  2    | 1    8    7    |
| 1    8    2    | 34   456  7    | 345  456  9    |
| 7    456  9    | 346  1    8    | 2    345  456  |
+----------------+----------------+----------------+

This has a unique solution, although SukakuExplainer will complain(no 4's and 6's so probably more than 1 solution, but this is incorrect and seems to be a bug in this program). Check validity doesn't work, but check uniqueness only will confirm it's valid.
solution:
Code: Select all
234761895596834712871529643918475326327196458465283971643952187182347569759618234
urhegyi
 
Posts: 748
Joined: 13 April 2020

Re: greater than sudoku

Postby Hajime » Thu Jul 27, 2023 7:49 am

To put it in SiSeSuSo just like you did in a Consecutive Sudoku
http://forum.enjoysudoku.com/post332426.html#p332426
But now with < and > symbols.

Example:
Code: Select all
#1//B4,GT
..49.2.1...............1............3.1.....8.6...7..............7..4............
.>......0........0......<.0...<....0....>.>.0.>.....<0........0<.....<.0<.......0
.>..<...>..........<<..<....>>>................<......<.....>......<....000000000

The zeroes indicate "there is no left or down cell"
( the example is not a genuine sudoku but part of this puzzle )
User avatar
Hajime
 
Posts: 1375
Joined: 20 April 2018
Location: Fryslân

Re: greater than sudoku

Postby urhegyi » Thu Jul 27, 2023 8:43 am

Thank you for explaining the syntax.
So for my example this should be:
Code: Select all
#1//B4,GT
2.....8..........2...5.9....18..........9...8..5..39........1...8......97...18...
..<>...>0<.<..<>.0>.<.<>.>0.<>.>.>.0><>.>>.<0<..<><.>0.><>>>.>0<><<<.<<0..>.<>.<0
.<<.><.>.<..>>.><..>...>>.<>.>><.<<..<.<....>.>.<.>><.>.>...<...>..>.>..000000000
urhegyi
 
Posts: 748
Joined: 13 April 2020

Re: greater than sudoku

Postby Hajime » Thu Jul 27, 2023 9:42 am

Yes, works fine
User avatar
Hajime
 
Posts: 1375
Joined: 20 April 2018
Location: Fryslân


Return to Sudoku variants