Exact solver

Enclose the horse with precision.

Drop any puzzle image and let the optimizer place walls to maximize cherries, then area.

Solving…

This can take a few seconds for larger grids.