You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
#lang scribble/lp2
|
|
|
|
@(require scribble/manual aoc-racket/helper)
|
|
|
|
|
|
|
|
@aoc-title[22]
|
|
|
|
|
|
|
|
|
|
|
|
@link["http://adventofcode.com/day/22"]{The puzzle}. Our @link-rp["day22-input.txt"]{input} tells us our hit points and damage.
|
|
|
|
|
|
|
|
@chunk[<day22>
|
|
|
|
;;
|
|
|
|
]
|
|
|
|
|
|
|
|
@section{What's the least mana we can spend and win?}
|
|
|
|
|
|
|
|
Did I mention I hate RPGs? Well, this question is much more RPG-ish than @secref{Day_21}. It involves mana and spellscasting. So I'm taking a pass. If someone devises a concise solution, I'll be happy to add it to this page.
|
|
|
|
|
|
|
|
Otherwise, onward to @secref{Day_23}.
|
|
|
|
|