This library can be used to control the division and render of the game state.
in packages.dhall
...
let upstream = ...
in upstream
with glapple =
{ dependencies =
[ "aff"
, "aff-promise"
, "arrays"
, "canvas"
, "colors"
, "console"
, "effect"
, "either"
, "foldable-traversable"
, "integers"
, "js-date"
, "math"
, "maybe"
, "numbers"
, "ordered-collections"
, "prelude"
, "random"
, "refs"
, "safely"
, "tailrec"
, "transformers"
, "tuples"
, "unsafe-coerce"
, "web-dom"
, "web-events"
, "web-html"
, "web-uievents"
]
, repo =
"https://github.com/yukikurage/purescript-glapple"
, version =
"v2.1.0"
}
...
and run
spago install glapple
- API reference is published on Pursuit
- You can see an example that actually works in Repository
glapple-examples
.