Eternity2Puzzles.jl is an implementation of the Eternity II puzzle in the Julia programming language. This package allows to play the puzzle as an interactive game and to search for a solution using a brute-force backtracking search.
This package is registered in the Julia package registry and can be installed using the built-in package manager from the Julia REPL:
julia> ]
pkg> add Eternity2Puzzles
Important
Please note that the package is only tested on Windows and that the interactive game part might not work correctly on a Mac with Retina display.
The goal is to place all 256 pieces on the board, such that the colors and symbols of adjoining pairs of edges match, and with the grey edges around the outside. Piece number 139 is a mandatory starter-piece with a fixed position on the board, that can neither be moved nor rotated.
To start the interactive game, type in the Julia REPL:
julia> using Eternity2Puzzles
julia> play()Puzzle pieces can be moved with the left mouse button and rotated with a right click.
You can also use the commands play(:clue1), play(:clue2), play(:clue3) or play(:clue4) to play one of the smaller clue puzzles.
Important
Unfortunately the interactive game is not yet compatible with Julia 1.12. Upstream tracking issue: aviks/GameZero.jl#86
Please visit the documentation for a detailed description about more features of this package, for example how to run a solver algorithm.
