This project is mostly a learning exercise to practice my javascript skills.
- The board is everything, well maybe, a bit. The board is generated for each game and contains the squares that can or cannot hold pieces. The pieces are actually included in the JSON object of the board and whenever something needs to be done with a piece it is re-instantiated based on it's type. Since the logic of a piece is static and derives completely from it's current location this is possible and seems to work well.
- offsets for moves