diff options
author | Andreas Grois <andi@grois.info> | 2021-12-06 08:52:50 +0100 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2021-12-06 08:52:50 +0100 |
commit | 33d3f533e61d1da6a50b839ff25aede62cfffbdf (patch) | |
tree | ea253ab9aebbf6390d8b8dece3ad03122ca199dd /src/lib.rs | |
parent | 6830e921d9451b120a516bdb643eb0a417d78460 (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.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 } |