diff options
| author | Daniel Hader <[email protected]> | 2026-08-16 21:52:55 -0500 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-08-16 21:52:55 -0500 |
| commit | e737486b668164d437c67e05f95d32c94e946e6a (patch) | |
| tree | 37e4d1434a80ee162102703851aedd5334b46925 /src/lib.rs | |
initial commit, rectangular grid placement enumeration
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..23a954e --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,16 @@ +pub mod rectangular; + +pub trait CalanderPuzzle { + type Placement; + + // returns a Vec that associates with each piece index, + // a Vec of possible placements of that piece + fn placements(&self, allow_flips: bool) -> Vec<Vec<Self::Placement>>; + + fn solve(&self) { + + } +} + + + |
