3 ms·
For an example of making Pong using FRP, check out this: http://elm-lang.org/blog/games-in-elm/part-0/Making-Pong.html http://elm-lang.org/blog/games-in-elm/par
by muraiki 14y ago
For an example of making Pong using FRP, check out this: http://elm-lang.org/blog/games-in-elm/part-0/Making-Pong.html http://elm-lang.org/blog/games-in-elm/part-0/Making-Pong.htm...
It's not a very long read, and it will help make FRP more concrete with a practical example.
- axilmar 14y agoWell, if the game state is so small, then it's quite easy to combine all these functions together in FRP style. How about big games though? for example, World Of Warcraft or Eve Online. The game states of these are humongous, and the game state's data constructor would be huge.