Spielerando

Let the lake freeze slowly and melt quickly, so crossing needs a cold spell

One cold night should not carry a wagon across the lake, and one warm afternoon should not undo a week of frost. Here is how to grow and lose ice from daily temperatures, with a different pace each way, and to say on which days a person, or a heavy load, may cross.

Why this works

Ice builds up and wears away at different speeds, and what matters is the total left, not the weather of one day. A running sum with slow growth and fast loss makes a long cold spell necessary, and a thaw hurts at once.

When not to use it

Skip it in a world where the lake is frozen by magic or the season is fixed by the story, or when you need only a yes or no on a set date. Then simply decide it by hand and spare the player the daily weather.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • A diagram of every state
  • 17 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Let the lake freeze slowly and melt quickly, so crossing needs a cold spell" (read_entry lake-ice-thick-enough-to-cross) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP