class

Aoc::Day22

Inherits Aoc::Day < Reference < Object

Instance methods

first(input)
Source
recursive_combat(p1_cards, p2_cards, previous_rounds) : Tuple(Bool, Array(Int32), Bool)

returns whether P1 won, the winner's deck of cards, and whether there was a repeat round

Source
second(input)
Source