News for hackers. Stuff that matters.
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.
Re:Snake in Elm with WebGL by kornish on Monday June 26, 2017 @02:51PM (#14639253)
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...