View previous topic :: View next topic |
Author |
Message |
| daj95376
| Joined: 05 Feb 2006 | Posts: 349 | : | | Items |
|
Posted: Sun Mar 26, 2006 6:05 am Post subject: Attempt at Creating a Standardized Puzzle |
|
|
Consider the following operations to transform a filled 9x9 grid.
Code: | 1) Map all of the values in the grid so the first row has
1..9 in successive columns.
2) Exchange R2 and R3 so that R2C1 < R3C1.
3) Exchange R4, R5, and R6 so that R4C1 < R5C1 < R6C1.
4) Exchange R7, R8, and R9 so that R7C1 < R8C1 < R9C1.
5) Exchange band R456 with band R789 so that R4C1 < R7C1.
|
(An example of a grid after these operations.)
Code: | *-----------*
|123|456|789|
|569|873|214|
|847|192|536|
|---+---+---|
|258|631|947|
|396|547|128|
|714|289|653|
|---+---+---|
|482|965|371|
|671|328|495|
|935|714|862|
*-----------*
|
I'm generating filled grids and wondering if I should perform this transformation on them before turning them into puzzles. (It might be beneficial for comparison purposes even though it doesn't consider all transformations.)
Does anyone see any benefit to creating puzzles whose solutions match this format? |
|
Back to top |
|
|
| Ruud Site Admin
| Joined: 17 Sep 2005 | Posts: 708 | : | Location: Netherlands | Items |
|
Posted: Sun Mar 26, 2006 11:44 am Post subject: |
|
|
Quote: | Does anyone see any benefit to creating puzzles whose solutions match this format? |
You are only partly canonizing the solution grid. You can easily permutate the puzzle so that any of the 9 rows becomes the starting row. You can also swap rows & columns and you have another 9 possible starting rows.
Full canonization is useful for storage of puzzles in a database, but as soon as you present it to a player, you need to scramble it, otherwise the player will soon know how to fill that first row.
Keep an eye on the responses to Lummox JR's latest topic.
Ruud. _________________ Meet me at sudocue.net |
|
Back to top |
|
|
| Soultaker
| Joined: 28 Feb 2006 | Posts: 49 | : | | Items |
|
Posted: Sun Mar 26, 2006 12:02 pm Post subject: |
|
|
Furthermore, you don't have grid rotation or diagonal reflection covered. (These two are equivalent, but you must include either.) |
|
Back to top |
|
|
|