Hacker News new | ask | show | jobs
by Kiro 3274 days ago
How is the actual game loop executed? I don't know Elm but I only find update, not how it's run.
1 comments

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...