Skip to content

Commit a4574c0

Browse files
committed
Added day 22 part 2
1 parent 00d1b5b commit a4574c0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
// project meta data
66
group 'de.havox_design.aoc2015'
7-
version '0.21.1'
7+
version '0.21.3'
88

99
// Switch to gradle "all" distribution.
1010
wrapper {

day22/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,12 @@ Now, suppose the same initial conditions, except that the boss has `14` hit poin
124124
You start with **50 hit points** and **500 mana points**. The boss's actual stats are in your puzzle input. What is the
125125
**least amount of mana** you can spend and still win the fight? (Do not include mana recharge effects as "spending"
126126
negative mana.)
127+
128+
# Part Two
129+
On the next run through the game, you increase the difficulty to **hard**.
130+
131+
At the start of each **player turn** (before any other effects apply), you lose `1` hit point. If this brings you to
132+
or below 0 hit points, you lose.
133+
134+
With the same starting stats for you and the boss, what is the **least amount of mana** you can spend and still win
135+
the fight?

0 commit comments

Comments
 (0)