Make spaces class?
Right now, a space from the board can be one of two things:
- A piece
- null (This has a lot of meanings)
but that seems a little too ambiguous. A space for example could be:
- An empty space
- An empty space with a piece on it
- An empty space that cannot be moved to (environment blockage)
- A space off the board
I propose we add a space class for the board class so we can get more information from the board, and so we avoid IndexOutOfBounds exceptions.