How long does it take to generate boards?
An alternate approach would be to repeatedly generate the board after the first click, till the board has a hole under the click.
An alternate approach would be to repeatedly generate the board after the first click, till the board has a hole under the click.
The algorithm to locate the biggest hole on a 1,200 tile board takes around 45ms and I'm stubbornly itching to use it one way or another. But I'll see what's a more sane solution over shifting fields.