File Exchange

image thumbnail


version 1.0 (8.15 KB) by

Recursive Eternity 2 Solver



View License

Eternity 2 was a puzzle competition put out in 2007 that is still awaiting a solution (

This script uses a recursive function to solve the Eternity 2 puzzle via brute force (i.e. by trying all possible combinations). While such a method will not solve the full 16 by 16 board in a reasonable amount of time, it will solve smaller boards (10 by 10) in under a minute on modest machines.

This script is provided to serve either as an example of recursive programming or as a starting point for people wishing to solve the Eternity 2 puzzle.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video