Spielerando

Build a game where you swap neighbouring tiles to line up three and chain reactions follow

Swapping tiles to make a line of three is a loop of swap, find, clear, drop and refill, repeated until the board is calm. The details that go wrong are swaps that change nothing, lines found twice and refills that start another chain. Here is the loop.

Why this works

The player judges the move, but the board does the rest. Settling in rounds, one after the other, keeps every chain traceable, so you can show it step by step and give a growing reward to a lucky cascade.

When not to use it

Skip it when the player should plan far ahead or when luck must not decide the outcome. Refills are random by nature; for a puzzle with one fixed answer, hand-place the tiles instead of dropping new ones.

In the full entry

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

Say this to your AI

Use the Spielerando entry "Build a game where you swap neighbouring tiles to line up three and chain reactions follow" (read_entry genre-match-three-core-loop) 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