THE LABYRINTH OF LOGIC
A Topological Puzzle That Tests Spatial Reasoning, Executive Function, and Cognitive Flexibility
📖 ABOUT THIS PROGRAM
The Labyrinth of Logic is a sophisticated topological puzzle designed to test spatial reasoning, executive function, and cognitive flexibility. It is based on classic "connect-the-dots" puzzles that have been used for decades in psychological assessments and IQ testing.
Unlike standard puzzles, this game requires you to connect matching pairs of dots with continuous lines that cannot cross, touch, or exit the circular boundary. The challenge lies in planning routes that leave "tunnels" for inner connections — a true test of systems thinking.
The puzzle was inspired by the philosophical work of Daniel Mason, particularly the concept that "Alignment like mirroring causes resonance, symmetry, synchronicity — or collapse." Every decision affects all others, and the optimal path is rarely the straight line.
🎮 HOW TO PLAY
- 1. Select Difficulty — Easy (3 pairs), Medium (5 pairs), Hard (7 pairs), or Expert (9 pairs)
- 2. Choose Your Display Mode — Colors, Letters, or Numbers for dot identification
- 3. Memory Mode (Optional) — Toggle ON to hide dot identities. Hover over dots to reveal their color and label
- 4. Randomize (Optional) — Generate new random dot positions for infinite replayability
- 5. Start the Game — Click the START button on the canvas to begin
- 6. Draw Connections — Click/touch and drag from one dot to its matching partner
- 7. Follow the Rules — Lines must stay inside the circle, cannot cross other lines, and cannot touch
- 8. Complete All Pairs — Connect every matching pair to win and receive your IQ score
💡 Tip: Use the ☰ menu button (bottom-left) to access settings during gameplay. The ? button (bottom-right) opens this help page.
📜 THE GOLDEN RULES
📊 IQ SCORING SYSTEM
| Level | Pairs | Genius (Top 2%) | Superior | Persistent |
|---|---|---|---|---|
| 🌿 EASY | 3 | < 60 sec | < 150 sec | < 300 sec |
| ⚡ MEDIUM | 5 | < 90 sec | < 180 sec | < 360 sec |
| 🔥 HARD | 7 | < 120 sec | < 240 sec | < 480 sec |
| 💀 EXPERT | 9 | < 180 sec | < 360 sec | < 600 sec |
+15 IQ BONUS Memory Mode Bonus: Completing the puzzle with Memory Mode enabled awards an additional 15 IQ points.
🧠 WHAT YOUR SCORE REVEALS
- 🏆 Grand Strategist (155+ IQ): Exceptional spatial mapping. Can manage multi-variable systems with ease. Sees the whole before drawing a single line.
- 🎯 Master Planner (135+ IQ): Prioritizes order and efficiency. Identifies bottlenecks early and executes precise plans.
- 🌿 Persistent Sage (115+ IQ): Great cognitive stamina. Refines mental models until success is achieved.
- 📚 Thoughtful Learner (100+ IQ): Persistent and willing to learn. Every master was once a student.
🔑 THE SECRET STRATEGY
The key to solving this puzzle is counter-intuitive: connect the outermost pairs first, hugging the boundary of the circle. This creates "tunnels" or "corridors" for the inner pairs to pass through without crossing.
Think of it like concentric rings. The outer ring must go first, then the next, then the next. If you connect inner pairs first, you will block the outer paths and make the puzzle unsolvable.
This mirrors real-world systems thinking: sometimes you must take the long route to achieve global optimization. Short-term efficiency (straight lines) leads to long-term failure.
🏢 USING THIS FOR CANDIDATE ASSESSMENT
This puzzle is an excellent tool for assessing candidates in technical, strategic, and leadership roles. It measures the following cognitive traits:
- Spatial Intelligence — Ability to visualize paths before drawing them
- Systems Thinking — Understanding how one decision affects all others
- Impulse Control — Observing before acting vs. trial and error
- Lateral Thinking — Willingness to take long routes for global success
- Frustration Tolerance — Persistence when the solution isn't obvious
- Working Memory — Tracking multiple constraints simultaneously
📋 Interview Tip: Observe whether candidates start drawing immediately (action-oriented) or study the board first (strategic). Those who identify the "outer-path-first" strategy quickly demonstrate high fluid intelligence. Also note how many times they reset — persistence is as valuable as speed.
🔬 High-Stakes Interview Metrics
This specific game, The Labyrinth of Logic, is a powerful assessment tool because it moves beyond simple "puzzles" into the realm of Topological Reasoning and Executive Function. In a high-stakes interview, here are the specific metrics and behaviors you can track using this game:
1. Spatial Intelligence & Strategic Mapping
The game requires "hugging the boundary" to leave space for inner connections.
• What it tests: Can the candidate visualize a complex system before they start?
• The Metric: Look at their first 2–3 moves. Do they immediately dive into the center (short-term thinking), or do they path around the edges (long-term strategic planning)?
2. Working Memory Under Pressure
By turning on Memory Mode, the dots become hidden and only reveal themselves on hover.
• What it tests: How much information can the candidate hold in their "active" mind while performing a task?
• The Metric: The "IQ Estimate" in your code adds a bonus for Memory Mode because it tracks the cognitive load. A candidate who succeeds here shows they can manage multiple variables without losing focus.
3. Error Recovery & Persistence
The game logic prevents crossing lines or touching.
• What it tests: How does the candidate react when they "paint themselves into a corner" and can't complete the last pair?
• The Metric: Do they get frustrated and click "Reset" immediately (low tolerance for failure), or do they methodically trace back their lines to find the specific bottleneck (high analytical resilience)?
4. Fluid Reasoning (Adaptability)
The Randomize Toggle ensures the layout is never the same.
• What it tests: Does the candidate rely on "memorized" solutions or "learned" patterns, or can they solve a brand-new problem from scratch?
• The Metric: Comparing their time on a "Fixed" layout vs. a "Random" layout shows their ability to apply logic to unfamiliar situations.
5. Task Efficiency vs. Perfectionism
The game tracks Elapsed Time.
• What it tests: The trade-off between speed and accuracy.
• The Metric: A "Genius" score (low time) indicates high processing speed, whereas a "Persistent" score (high time) indicates someone who is thorough and won't give up until the task is done. Depending on the job (e.g., Sales vs. Engineering), you might value one over the other.
6. Impulse Control
Since the timer begins the moment they start drawing.
• What it tests: Do they stop and think before touching the screen, or do they start drawing and hope for the best?
• The Metric: The "think time" (the gap between the game starting and the first line being completed) measures deliberative vs. impulsive behavior.
The Labyrinth of Logic is effective for an interview because the "Cognitive Profile" at the end (e.g., The Grand Strategist vs. The Persistent Sage) provides a personality-neutral way to talk about a candidate's natural work style.
⚙️ Expert difficulty settings? Would you like to know how to adjust the "Expert" difficulty settings to specifically target high-level architectural or coding roles? (Further tuning of pair complexity, node topology, and time-pressure to match senior engineering profiles.)
👤 ABOUT THE CREATOR
"Alignment like mirroring causes resonance, symmetry, synchronicity — or collapse."
— Daniel Mason
Daniel Mason — Author of The Art of Reflection: Insights on Power, Perception, and Purpose
This puzzle was designed as a practical application of the principles explored in Mason's work: alignment, mirroring, resonance, and collapse. The topological constraints mirror real-world systems where every decision affects all others, and the optimal path is rarely the straight line.
Mason's philosophical framework suggests that unconscious mirroring and alignment drive human behavior, but true freedom comes from knowing — the ability to observe the pattern without being trapped inside it. This puzzle embodies that journey from reactive mirroring to strategic radiating.
🧠 MEMORY MODE EXPLAINED
What is Memory Mode? When Memory Mode is enabled, all dots appear identical (gray with a "?" symbol). The true color and label of each dot are hidden until you hover over them with your mouse or touch them on mobile.
Why play Memory Mode? This mode tests your working memory alongside spatial reasoning. You must remember which dots belong together without constant visual cues. It adds a layer of cognitive load that separates casual players from strategic thinkers.
Bonus: Completing the puzzle in Memory Mode awards +15 IQ points to your final score.
🎲 RANDOMIZE MODE EXPLAINED
What does Randomize do? When Randomize is enabled, each new game generates a completely unique layout of dot positions. The pairs remain the same (same letters/numbers/colors), but their locations change.
Why use Randomize? This mode tests your ability to solve novel puzzles rather than memorizing a fixed solution. It ensures that true spatial reasoning — not pattern recognition — is being measured.
Fixed vs. Random: Fixed layouts are carefully designed to be solvable with the outer-path-first strategy. Random layouts may be easier or harder depending on dot placement, adding variety to each play session.
🔬 COGNITIVE SCIENCE BACKGROUND
This puzzle is a sophisticated test of Fluid Intelligence (Gf) — the capacity to reason and solve novel problems independent of acquired knowledge. It engages multiple cognitive systems simultaneously:
- Executive Function: Planning, inhibition (not taking shortcuts), and cognitive flexibility
- Visuospatial Processing: Mental rotation, path integration, and boundary awareness
- Working Memory: Holding multiple constraints (paths, rules, pairs) in mind simultaneously
- Fluid Reasoning: Deductive and inductive logic applied to a novel constraint set
In psychological assessment, puzzles like this correlate strongly with performance in engineering, architecture, strategic planning, and systems design roles.
❓ FREQUENTLY ASKED QUESTIONS
- Why can't I connect two dots? — Make sure you start and end on the same color/letter/number pair. Lines must be continuous and cannot cross existing paths.
- Why does my line disappear? — The line was invalid (crossed another line, touched, or exited the circle). Try a different route.
- What's the best strategy? — Connect outermost pairs first, hugging the boundary. Work your way inward.
- Can I reset during a game? — Yes, use the RESET button to clear all paths and start over with the same layout.
- How do I change settings during gameplay? — Click the ☰ button (bottom-left) to open the settings menu.
- Does the timer affect my score? — Yes, faster completion times yield higher IQ estimates.
- Is this a real IQ test? — This is an estimate based on puzzle-solving speed. For clinical assessment, consult a licensed psychologist.
📋 VERSION HISTORY
- v2.3 (Current): Added menu toggle button, improved mobile touch handling, enhanced Memory Mode with color reveal on hover
- v2.2: Added start screen with hidden controls until gameplay begins
- v2.1: Fixed mobile touch events, added Memory Mode with hover-to-reveal
- v2.0: Complete redesign with difficulty levels, randomization, and IQ scoring
- v1.0: Original topological puzzle with 7 pairs