No description, website, or topics provided.
Java Groovy
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spock
src/com/greenmoonsoftware/eightpuzzle
test/com/greenmoonsoftware/eightpuzzle/BoardStateTests
.gitignore
README.md
build.xml

README.md

Eight Puzzle

This is a java application that solves an Eight Puzzle. A description can be found here http://en.wikipedia.org/wiki/15_puzzle.

Basically, it is a 3x3 grid with 1 empty space. The correct solution is the numbers on the grid are ordered 1-8, from top left to bottom right.

1 2 3
4 5 6
7 8 X

The last square is an empty cell.