Commit 138c30f
authored
Refactor polyomino implementations (#201)
* add cspuz_rs/src/polyomino.rs
* use polyomino_placement in Statue Park solver
* move tetrominoes() and pentominoes() to polyomino.rs
* add tests
* format
* use polyomino_placement in Battleship solver
* factor out PieceCombinator
* factor out PiecesCombinator1 parent 3c911f6 commit 138c30f
4 files changed
Lines changed: 544 additions & 797 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments