Eternity 2 was a puzzle competition put out in 2007 that is still awaiting a solution (http://en.wikipedia.org/wiki/Eternity_II_puzzle).
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.
引用格式
Jeremy Wurbs (2025). Eternity2 (https://ww2.mathworks.cn/matlabcentral/fileexchange/44504-eternity2), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Eternity II/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |