summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-08-16 21:52:55 -0500
committerDaniel Hader <[email protected]>2026-08-16 21:52:55 -0500
commite737486b668164d437c67e05f95d32c94e946e6a (patch)
tree37e4d1434a80ee162102703851aedd5334b46925 /src/lib.rs
initial commit, rectangular grid placement enumeration
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs16
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) {
+
+ }
+}
+
+
+