r/Python • u/AlSweigart Author of "Automate the Boring Stuff" • Jun 12 '25
Showcase Website version of Christopher Manson's 1985 puzzle book, "Maze"
This out of print book was from before my time, but Maze: Solve the World's Most Challenging Puzzle by Christopher Manson was a sort of choose-your-own-adventure book that had a $10,000 prize for whoever solved it first. (No one did; the prize was eventually split up among twelve people who got the closest.)
I created a modern, mobile-friendly web version of the book.
GitHub (with Python source): https://github.com/asweigart/mazewebsite
Website: https://inventwithpython.com/mazewebsite/
Start of the maze: https://inventwithpython.com/mazewebsite/directions.html
There are 45 "rooms" in the maze. I created HTML image maps and gathered the text descriptions into a throwaway Python script that generates the html files for the maze. I didn't want it to rely on a database or backend, just HTML, CSS, and a little Bootstrap to make it mobile-friendly. The Python code is in the git repo.
What My Project Does
Generates HTML files for a web version of Christopher Manson's 1985 puzzle book, "Maze"
Target Audience
Anyone can view the output website. The Python code may be of interest to people who have similar one-off projects.
Comparison
The throwaway script spits out html files, making it easy for me to make updates to all 45 pages at once. It's a one-off project that doesn't use other modules, so it's not supposed to be a web framework like Flask or Django or anything.
13
u/dominiquec Jun 12 '25
Mr. Sweigart: just wanted to say, thank you for all your work and for making it free! They are invaluable learning resources for my students and me.
4
u/CommandOwn8517 Jun 13 '25
I am just starting out with python. You work "Automate boring stuff" has been very helpful.
1
u/Educational-Hat6621 1d ago
Hey, do you have a copy of "the rails I tote" ?
1
u/Wurtle Sep 09 '25
I got trapped in the Stygian abyss.
Awesome website
2
u/Educational-Hat6621 Oct 27 '26
I just want to say. Thank you so much for posting this. This is the strangest book I have ever tried to read and it keeps daring me to finish it.
1
u/highbloo Jun 23 '25
Came across this puzzle via Questing Beats on YT -- thank you so much for the upload!!
1
u/sparkcrz Sep 26 '25
I'm four months late but:
I'm pretty sure the doors without numbers are also enter-able if you decipher their signs to a page number, like what you did for page 3 with the mirrored signs.
If we only go by numbers (even with page 3 solved) the puzzle is unsolvable. For instance pages 17, 23, 28, 32, and 45 aren't reachable by visible door numbers alone:
Essentially forming two closed circuits, the one we start at and the one with room 45 in it.
1
u/joeman2006 Oct 15 '25
you should share with christopher manson hed prob dig it
0
u/[deleted] Sep 24 '25
[deleted] — view deleted comment
1
u/[deleted] Jun 18 '25
[removed] — view removed comment