Klotski puzzle solution - programmatically solved

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,729
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 2, 2009

I was given this little puzzle and it was driving me mad, so I decided to write some code to solve it. Here it is...
Written in C#, it builds a multi-node network of feasible moves until it discovers the solution criteria. Once discovered, it plays the moves from beginning to end. Enjoy.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (dbnull)

  • If anyone is interested in the source code to this, let me know.

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • @Zafoshin w8 another minute! I thought the 2sized blocks were 2 small 1s, packed together by the program, cause they always moved together...but if they are 1 block, then there have to be much more steps than 18...

  • @Zafoshin W8 a minute....this is supposed to be solved in 18 steps! If u'd make so many steps u might as well go in a less roundabout way.

  • Ah, writing a program to solve a riddle...Us programmers sure do some crazy sht, instead of googling in this example. I'd be interested in the code, if I knew C#. I'd personally solve this 1 in prolog, good times...

  • Yes, I would love to see the code.

  • Tell me pls

  • yes please!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more