aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2021-12-06 08:52:50 +0100
committerAndreas Grois <andi@grois.info>2021-12-06 08:52:50 +0100
commit33d3f533e61d1da6a50b839ff25aede62cfffbdf (patch)
treeea253ab9aebbf6390d8b8dece3ad03122ca199dd /src/lib.rs
parent6830e921d9451b120a516bdb643eb0a417d78460 (diff)
First working (but ugly) day4, part 1 solution.
Needs to be refactored. Game should be made an enum, that distinguishes between running and completed games. Completed games should only have their score as data, no more details. Methods should be limited to the respective variant. BingoGame should _not_ be made into an enum, as players might keep playing after the first one has won.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3223a06..9a26251 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,5 +3,6 @@ use aoc_runner_derive::aoc_lib;
pub mod day1;
pub mod day2;
pub mod day3;
+pub mod day4;
aoc_lib!{ year = 2021 }