No description, website, or topics provided.
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.
.github
.idea
.travis
dist
src
test
.editorconfig
.gitattributes
.gitignore
.jscsrc
.jshintrc
.travis.yml
LICENSE.txt
README.md
Tetronimo.iml
gulpfile.babel.js
modernizr-config.json
package.json

README.md

Block Puzzle Solver

Build Status devDependency Status

Description

The Block Puzzle Solver calculates the solutions to monomino, domino, triomino, tetromino and pentomino(1) based rectangular or square tangram puzzle in a user-defined area, with support for block rotation and reflection.

The fast version uses a random unique block combinations.

The slow version tests all possible block combinations and permutations (there can be quite a lot of them).

The plan for future is to include more pentominoes, heptominoes, octominoes & other polyominoes; as well as support user defined areas of any shape.

Demo

http://www.BlockPuzzleSolver.com/

Screenshots

In the following article: https://www.joe0.com/2018/01/03/n-block-tetromino-tangram-puzzle-solver-in-javascript/

Screenshot1

Browser support

  • Chrome (latest 2)
  • Edge (latest 2)
  • Firefox (latest 2)
  • Opera (latest 2)
  • Safari (latest 2)

This doesn't mean that the program cannot be used in older browsers, just that I'll ensure compatibility with the ones mentioned above.

Contributing

Anyone is welcome to contribute to this project. Currently I am looking for a equation based approach of eliminating early cases where no solution exist: https://math.stackexchange.com/questions/2602742/tetronimo-tiling-with-given-tiles-how-to-eliminate-early-cases-where-no-soluti

Resources

License

The code is available under the MIT license.