Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

https://www.joe0.com/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.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published