IQ-Fit: task display #1316
MichaelVerschaeve
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've recreated the IQ-Fit puzzle in lego.
The original game comes with a booklet with 120 tasks and solutions. Each task specifies a couple of elements to place (the easier chapters place more elements) and then the goal is to fill the entire field with the remaining puzzle elements, each task has an unique solution, which is then in the second half of the booklet. This is ofcourse all static and requires no pybricks ;)
more pictures on bricklink studio gallery
However, I want to provide the tasks and solutions also when I'm exhibiting at expositions, For that I'm using 8 Spike Essential color LED matrices, arranged in a 2x4 grid giving me a 6x12 pixel display. As the RI and Spike Prime hubs have only 6 ports, I needed two of them and am using the broadcast functionallity to transfer states, i.e. the puzzle we're on (1 to 120) and wheter to show the puzzle number, the task or the solution.
The left and right buttons on the right hub select the puzzle by decrementing resp. incrementing the puzzle number by 1. The same buttons on the left hub decrement/increment by 24 (tasks are arranged in chapters of 24 puzzles with increasing difficulty) The center buttons toggle between the 3 modes, i.e. show the task number, show the task itself and show the solution.
The two programs on the hubs import a third common module which contains the puzzle data (which is a huge list of 1200 lines) and some common functions.
Beta Was this translation helpful? Give feedback.
All reactions