sln_2021_21
Copyright(c) Eric Mertens 2021
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

https://adventofcode.com/2021/day/21

Play a game on a simple game of play players on a circular board with 9 spaces. The players roll dice to advance to a numbered space and earn that many points.

Part 1 simulates the game directly and part 2 takes advantage of there being no interaction between the two players to simulate their play separately.

Synopsis

Documentation

main :: IO () Source #

>>> :main
428736
57328067654557