Skip to content

Ac0lyte/hardest_puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I recently bought a puzzle at a yard sale that advertised itself as the hardest puzzle in the world. It was nine pieces, all square with two protruding shapes and two sockets. Each protrusion or socket were one of four shapes. The shapes were Heart, Spade, Diamond, and Club. After a few minutes I realized that I would spend many frustrating hours on this, so I decided to script it. 

I am also attempting to learn a bit about python, so I thought it would be a good time to do so.

It produces output like this:
----------------------------------------

I win?!?!


===========================
   H+        D+        S+   
C- ** D+  D- ** C+  C- ** S+ 
   C-        C-        H-   

   C+        C+        H+   
C- ** H+  H- ** H+  H- ** D+ 
   D-        S-        D-   

   D+        S+        D+   
S+ ** H-  H+ ** S-  S+ ** S- 
   D-        C-        H-   
===========================

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages