A collection of functions used to start games in the Haskell model.
A Promise that resolves once the Haskell model is ready.
Adds a function that listens to events from the Haskell model.
The event to listen to.
The callback function.
Sends a move to the Haskell model.
The "coordinate" of the move.
Removes a previously added event listener.
The event to listen to.
The callback function.
Generated using TypeDoc
The public definition of the
boardgame
object that gets attached to thewindow
. I.e. it's accessed viawindow.boardgame
.