From 33d3f533e61d1da6a50b839ff25aede62cfffbdf Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Mon, 6 Dec 2021 08:52:50 +0100 Subject: 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. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib.rs') 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 } -- cgit v1.2.3