So, you have been warned. Here’s the demo:
- Click on a piece to see its possible moves.
- Click again to unselect.
- Click a possible move to move.
- Selected piece has a yellow background
- Possible moves have a green background
- Invalid moves have a red background