Group Abstract Group Abstract

Message Boards Message Boards

Programming approach to solving "One Tough Puzzle"

Posted 10 years ago
Attachments:
POSTED BY: Wilson Kan
7 Replies
Posted 8 years ago

I successfully put this puzzle together using their guidelines. Twice. In two different ways.

Attachment

Attachment

POSTED BY: Kevin Pedaline
Posted 10 years ago

Hi Wilson,

Thanks for sharing your solution! Really neat!!

I would love to play the game, so I explored over the weekend to use Mathematica to generate random game with only one solution, and draw the pieces that can be later print out and play.

When Mathematica first generate the 9 pieces, it will draw them as a solution: enter image description here

Attached is my notebook.

Attachments:
POSTED BY: Dan Lou
Posted 10 years ago

Hi Dan,

That's super cool!

I was surprised at how quick it is able to generate a random set of puzzles that's solvable. So I let your code loop over to find 100 solutions and it created a total of 894 random puzzles... About 1 in 9 random puzzle is solvable... that's much higher than I would have expected!

Thanks for sharing!

Wilson

POSTED BY: Wilson Kan
Posted 10 years ago

Wilson,

That's interesting. Did you de-duplicate the randomly generated puzzles? I wonder whether they are all unique ones.

Dan

POSTED BY: Dan Lou

enter image description here - you earned "Featured Contributor" badge, congratulations !

This is a great post and it has been selected for the curated Staff Picks group. Your profile is now distinguished by a "Featured Contributor" badge and displayed on the "Featured Contributor" board.

POSTED BY: EDITORIAL BOARD

This is cool!

POSTED BY: Stephanie Oh

Really really neat way to solve this puzzle! Thanks for sharing!

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