aboutsummaryrefslogtreecommitdiff
path: root/src/day4.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add simpler (but marginally slower) second solution for day4, part2Andreas Grois2021-12-071-2/+34
|
* Day 4: Won cards now track their full score, and the round the won in.Andreas Grois2021-12-071-30/+29
|
* Part 2 of day 4. Ugly, but it works.Andreas Grois2021-12-061-12/+96
|
* Make Bingo Cards use algebraic sumAndreas Grois2021-12-061-80/+158
|
* First working (but ugly) day4, part 1 solution.Andreas Grois2021-12-061-0/+408
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.