Hello all,
At the end of a course I gave this semester, I asked students to implement something (more or less, whatever they want) in Elm, as a kind of end of term project, since Elm/FRP was the last topic we covered during the regular lectures. I guess it’s interesting to share the results with the list. Unsurprisingly, most (but not all) students chose to write some game clone.
For the interested, links to the source codes (in most cases, in the students’ GitHub accounts) are on the course page.
Have fun!
Janis
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
I also would like to know the highlights from the source code. Did, for example, the Game of Life person implement 2D arrays in a way worth turning into a third party library?
--
Haven't yet had a very deep look through the source code myself, but yes, that should be interesting.Two specific issues that came up during the work, i.e., students asked about how they could do something that they thought there should be a way but Elm didn't really have a good solution:1. How to include short animations? In situations where fpsWhen does not seem to apply since the "control" for turning the animations on/off depends on the current state which is itself part of the program's "global foldp", so using it as input signal for fpsWhen would lead to loopiness.
2. How to get the mouse position relative to some Element? Something like what Haskell's diagrams library supports as point queries would have helped.