Advent of Code
mykl
•
12mo ago
•
83%
Nadvent of Code - 2022 Day 2
https://dartpad.dev/?id=96a60324a73eb1dc73d0d9378af0068cAs a warmup for this year's Advent of Code, I'm re-reading and posting my solutions to last year's challenges. You can read or run today's solution by following the link above.
Day 2 involved playing Rock Paper Scissors following a strategy guide. I solved part one by building a simple look-up table encoding the provided score values. Solving part two just required building a second lookup table to key into that first table.
Comments 0