Message Boards Message Boards

Reading and solving Garam puzzles

Posted 9 years ago

The Reddit math forum turned up this nice site of sudokuish Garam puzzles yesterday. Fill in the blanks.

A Garam puzzle

Someone was quick to post their Mathematica reduction:

enter image description here

They had to enter the whole puzzle manually, a tedious task.

The regular format and clean composition make these puzzles a tempting target for automation.

Using colour frequency, I pick out the tiles of the puzzle with morphological tools.

Said puzzles tiles

By checking tile adjacency, I compile lists of 'equations' reading down or across. Then the dark pixels in these tiles are extracted to collect the equation data.

Some equation imagery

A classifier turns the images into equations.

Some equations

Reduce solves all the equations for us, and churns out the answers left to right!

Solutions

Notebook attached for all your Garam cheating needs.

Attachments:
POSTED BY: David Gathercole
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract