**Day <%= s.day %>** — Food: <%= s.food %> · Warmth: <%= s.warmth %> <% if (s.food <= 0 || s.warmth <= 0) { %> Your supplies run out and the wilderness wins. You did not survive. [[Try again->Restart]] <% } else if (s.day > 5) { %> Five days survived — a search plane spots your fire. Rescue arrives. **The End** [[Play again->Restart]] <% } else { %> No script decides what happens next. Interacting systems — and your choices — do. Hunt (food +2, warmth −1), gather firewood (warmth +2, food −1), or rest to recover (but food −1 and warmth −1). Every action costs a day. [[Hunt->Hunt]] [[Gather firewood->Firewood]] [[Rest->Rest]] <% } %> <% s.food += 2; s.warmth -= 1; s.day += 1; %> [[See what the day brings->Start]] <% s.warmth += 2; s.food -= 1; s.day += 1; %> [[See what the day brings->Start]] <% s.day += 1; s.food -= 1; s.warmth -= 1; %> [[See what the day brings->Start]] <% s.day = 1; s.food = 3; s.warmth = 3; %> [[Begin again->Start]]