Re:Snake in Elm with WebGL
by Kiro on Monday June 26, 2017 @02:44PM
(#14639201)
How is the actual game loop executed? I don't know Elm but I only find update, not how it's run.
[ Parent
| on HN ]
The function `Html.program`, in `main`, takes an update function which handles (among other things) ticking the game loop.
http://package.elm-lang.org/packages/elm-lang/html/latest/Ht...