A functionality that would be useful to have is to test if a given shape fits on a board.
Kind of:
- A shape is defined by a number of coordinates for cells making up the shape.
- A shape fits if its cell coordinates match coordinates for "free" spaces on the board (within some epsilon tolerance).
- Start space on the board is given.
- Start cell on the shape is given?
- Rotation of the shape is either given or all rotations are tested.
A functionality that would be useful to have is to test if a given shape fits on a board.
Kind of: