Module emulator

Source
Expand description

The main entrypoint for any rotchess user.

design doc:

  • on hovering over move/cap points, highlight if it’s a possible move
  • only draw guides for non-jumpers (might be drawer’s responsibility)
  • piece selection on mousedown
    • but if piece was alr selected, or no action could be taken, deselect the only selected piece.
    • hmm. wondering now, we could probably move only selected to a Option in each Pieces.
    • but that raises the question, can we move everything GamePieceData related to Board?
  • drag move/cap point to rotate, or mouseup without having dragged to move (if was possible)

Structs§

RotchessEmulator
TravelPoint

Enums§

Event
User events a chess board can respond to.
MouseButton
Mouse buttons a chess board can respond to.
ThingHappened
TravelKind