#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[ ;; ] @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}.