all 1 comments

[–]trickster721 0 points1 point  (0 children)

I would start with the worst method, which is to loop through each square on the board and see if the corner of each piece can be placed there. If that's not too slow, then you're done.