Puzzler: solution

Solver for the puzzler posted by Doug Hull July 09 http://blogs.mathworks.com/videos/

You are now following this Submission

This puzzler was posted by Doug Hull recently. This code is my attempt at a solver. The file main.m includes the functions written by Doug so that the solver may be run without any supporting files.

My solver takes a greedy approach, forming a heuristic based on looking 2 moves ahead. Near the end of the game the algorithm looks to eliminate colours from the board.
The search is non-exhaustive so that it always terminates quickly.

Cite As

Darren Rowland (2026). Puzzler: solution (https://in.mathworks.com/matlabcentral/fileexchange/24933-puzzler-solution), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Puzzler: Supporting files

Categories

Find more on Just for fun in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0