Staafjespuzzel code from Henk, tweaked. (36cube puzzle)
✓ Published0🌍 Public
GGerHobbelt
Last edited Jan 2, 2013
Created on Jan 2, 2013
This visualization shows the solution search for the 36cube puzzle, a 6x6 grid where each row and column must contain each color exactly once. The code displays the board state in text form, with each cell colored and a numeric permutation showing the column order for each row. It tracks remaining colors per height level and uses a backtracking algorithm with placement statistics to explore solutions. The implementation uses C++ with the standard library, specifically the `set` container, and outputs progress markers and intermediate board states to standard output.
AI-generated descriptioncode to solve the 36cube puzzle.
Credits
Created by Henk de Leeuw; some tugging & tweaking by Ger Hobbelt (not that it got any better from that... :-) )
How to edit remotely / how to git clone to local machine
git clone git@gist.github.com:4433918.git