Brick Combination Generator
Pick brick shapes, orientations, and quantities to enumerate solutions on a 7×7 board.
Brick combination generator
① Pick bricks
Click a brick, then select orientations and quantities in the modal.
② Selected
The same brick can be added with different orientations.
No bricks selected
Pick bricks and click “Enumerate solutions”.
Enumerates solutions based on selected bricks, orientations, and quantities.
③ Results
Orientation variations are considered
No solutions yet
Pick bricks and click “Enumerate solutions”.
How to use
- Click a brick type. The modal shows all unique orientations (rendered with pure CSS grid cells).
- Set quantities for one or multiple orientations (0 means skip).
- Click “Add” to append (or accumulate) selected brick+orientation items.
- Click “Enumerate solutions” to enumerate valid placements on a fixed 7×7 board.
How are orientations generated?
Each brick is defined by a set of grid coordinates. We generate rotations (90°/180°/270°) and optional mirroring, then normalize and deduplicate them to get all unique orientations. For example, a square has 1 orientation; an L-shape usually has 8.
How are solutions enumerated?
Enumeration runs in your browser: we precompute all in-board placements for each orientation on a 7×7 board, then use backtracking with deduplication to enumerate non-overlapping solutions. Safety limits are applied to avoid freezing on huge search spaces.
FAQ
Will my input be uploaded?
No. Brick selection, orientation generation, and enumeration are all done locally in your browser.
Why are there few (or zero) solutions?
This tool enumerates solutions on a fixed 7×7 board. Conflicting shapes or too many bricks may result in no valid placements.