ivarcode / schackmatt

chess website
http://www.schackmatt.net/
8 stars 5 forks source link

board orientation resolver #139

Closed ivarcode closed 3 years ago

ivarcode commented 3 years ago

Problem / Catalyst We have no way to flip the board. We need that.

Describe the solution you'd like GameComponent is where we do this. A property determines how the board draws (flipped or not) and also determines mouse event resolution, all mouse events are going to be changed to pass through a secondary resolver that handles flipping the data if we need to.

We need this. NEED this. For any future interface implementation of puzzles, positions, etc, where the user plays black.