Rebuild the board, enter your three pieces, get the run that mines the most.
Every Use this board saves that round — board, pieces, gems, quota, run. Nothing leaves the page; Export prints text you can hand back so the solver can be tuned on real games. A reload wipes it, and start a fresh log for each new attempt.
Nothing stacks: a piece lands only on free cells, and gems in the ground block them too. A full row or column clears and pays out every gem it held. Gems carried by a piece land on the board and pay out in the same move if that move completes their line. Rows and columns finished together clear together. All three pieces must be placed, colours are never interchangeable, and a colour stops appearing on new pieces once its quota is full.
Every candidate run is scored on the gems it banks, on how close the gems left behind are to falling, and on whether the board it leaves still accepts the shapes the game deals. Those weights were fitted by self-play against a simulator calibrated on recorded games.