brain
How a computer player picks its next tile on a crumbling floor: `B.LEVELS` (easy, normal, hard: how far it looks ahead, how often it thinks, how often it blunders, how long it holds a cracking tile), `B.level(skill)`, `B.score` and `B.plan(view, opts)`, which searches the tiles a…
brain
How a computer player picks its next tile on a crumbling floor: B.LEVELS (easy, normal, hard: how far it looks ahead, how often it thinks, how often it blunders, how long it holds a cracking tile), B.level(skill), B.score and B.plan(view, opts), which searches the tiles a few steps away for ones still whole on arrival, prefers room to escape, the middle and space from others, and returns the neighbouring tile to step to (or a hole to hop, or the least bad way out). Pure: it plans over a small grid view, so the round and the tests both call it.
Scoped to this part · feeds back into the world's score.