Intro So far the Advent of Code has been going well but it is still early days! Lets jump right into day three and hope that things keep going well! The Puzzle Today’s puzzle involves elves having mis-packed their backpacks! Each backpack has two compartments and each compartment is supposed to filled of mutually exclusive sets of items. Unfortunately, exactly one item in each backpack is present in each compartment! Disaster!
Intro The first day was pretty straight forward so let’s get going on Day 2! Today’s puzzle involves elves playing rock, paper, scissors. I’ve been given a strategy guide which tells me how to play each turn to win enough rounds to pass but not so many rounds I look like I’m cheating. I’ve been tasked to calculate the score if I follow the guide exactly. The puzzle I’ve been given another plain text input which is the contents of the strategy guide.
Intro I’ve been looking for an excuse to write some Clojure and the Advent of Code is always a fun set of katas. Who knows maybe this year I’ll even finish them on time! :-) If you don’t know the Advent of Code is a series of code challenges that runs through well Advent. There is a new challenge every day and they come in two parts. Day 1 - Part 1 Okay!