Hello again
Here is another puzzle game following on from Dominate and Tangrams. In case you haven't heard of them, polyominoes are shapes formed by sticking squares together. The most famous are probably tetrominoes, as used in the game Tetris.
For these puzzles you have to fill a variety of shapes with polyominoes, by rotating, reflecting and dragging them.
To help you out, there is a "Check/Get hint" button which tells you whether the puzzle is solvable from the position you have reached. If it is, you can ask for one or more extra pieces to be added. If it is not, you can ask for pieces to be removed to take you back to a solvable position.
To provide this facility, I needed to write a "solver". This is written in Javascript, as unfortunately the Brython version ran too slowly (sorry Pierre! ;-) ). But the rest of it is all Brython - no other frameworks/packages except my own brySVG and brywidgets.
There are 5 different tetrominos (counting rotations and reflections as the same). That's a bit small to do much with, so here are 10 puzzles using two sets of tetrominoes:
There are 12 different pentominoes; here are 20 puzzles using those:
There are 35 different hexominoes, which is rather a lot; here are 10 puzzles using either a subset or all of them: