Skip to content
This software can solve a certain kind of tile based game (German: Legespiel).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
html-output
src
.classpath
.gitattributes
.gitignore
.project
.travis.yml
Readme.md
Solver - Absolut knifflig!.launch
Solver - Asterix-Kartenlegespiel.launch
Solver - Cats Scramble Squares.launch
Solver - Crazy9 Ketner Owls.launch
Solver - Das Verflixte Schildkroeten Spiel.launch
Solver - Das verrückte Loriot Legespiel.launch
Solver - Die Schweineknobelei.launch
Solver - ExactlyOneSolutionConfig.launch
Solver - FourPicturesConfig.launch
Solver - Knifflififfels Version 2.launch
Solver - Knifflififfels Version 4.launch
Solver - Knifflififfels Version 5.launch
Solver - Serengeti Scramble Squares.launch
Solver - Uli Stein - Noch verwzickter geht nicht!.launch
Solver - Uli Stein - Noch verzwickter.launch
Solver - WitchesPuzzleConfig.launch
_config.yml

Readme.md

Legespiel-Solver

What it is And How it Works

Legespiel-Solver was written to accompany the following blog post:

Backtracking in The Nursery – How to Solve a “Legespiel”

There is also a List of Scramble Squares Puzzles with Solutions available.

The Class org.whatsoftwarecando.legespiel.Solver can find all solutions of a certain kind of tile-based game called Scramble Squares (in German: "Legespiel"), in which cards have to be put in a square (or sometimes a rectangle) so that the pictures on the four sides of the cards fit the ones of the cards around it.

You can solve other games of this kind by creating an own implementation of GameConfig. By doing that, you can change the dimensions of the playing field and the pictures on the cards. When you are done, you can use the class name of your GameConfig as a program argument for Solver (also see .launch-Files in this folder).

Licence

The software is published under the terms of the following license:

Copyright (c) 2014 Andreas Keilhauer (www.keilhauer.eu)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.