221 day22 part1

○ Planned This feature is planned but not yet implemented.

OWED: AoC 2015 day 22 scripted statement fights replay to the pinned end-states.

Failure Output

error[PARSE003]: single continuation branch 'outcome' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> string`
  --> tests/regression/810_AOC_2015/810_221_day22_part1/input.k:53:1
    |
 53 | pub tor fight { line: string }
    | ^

Code

input.k

Supporting Files

input.txt

Expected output

win hp=2 mana=24
win hp=1 mana=114

Test Configuration

MUST_RUN