Skip to content

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.

License

Notifications You must be signed in to change notification settings

JozefJarosciak/BlockPuzzleSolver

Repository files navigation

Block Puzzle Solver

⚠️ Important Update ⚠️

🚀 New Version Available! 🚀

As of November 23, 2024, a new and improved version of the Tangram Puzzle Solver is available.
Access it here: Tangram Puzzle Solver (New Version)

🔗 Why Update? - The new version includes enhanced algorithms, optimized performance, and improved features for solving puzzles efficiently.


Description

The Block Puzzle Solver is a tool designed to calculate solutions for tangram-style puzzles based on monomino, domino, triomino, tetromino, and pentomino shapes within a user-defined rectangular or square area. It supports block rotation and reflection for maximum flexibility.

Features

  • Fast Mode: Generates solutions using random, unique block combinations for quick results.
  • Slow Mode: Exhaustively tests all possible block combinations and permutations, ensuring comprehensive coverage (though this can involve a significant number of possibilities).

Future Plans

  • Expand support to include more complex shapes like heptominoes, octominoes, and other polyominoes.
  • Enable support for user-defined areas of any shape, not limited to rectangles or squares.

This repository is ideal for puzzle enthusiasts, developers, or anyone interested in algorithmic problem-solving with polyomino-based puzzles.

Demo

Screenshots

image

Browser Support

The Block Puzzle Solver is tested and compatible with the following browsers:

  • Chrome
  • Edge
  • Firefox
  • Opera
  • Safari

Note: While the program may work in other browsers, I've only tested it in those listed above.

Contributing

Contributions to this project are welcome and encouraged!

Currently, I am seeking an equation-based approach to eliminate early cases where no solution exists efficiently. If you're interested, check out this discussion for more context: Tetromino Tiling: How to Eliminate Early Cases with No Solution.

Resources

License

The code is available under the MIT license.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published