阅读背景:

功能反应f# -存储状态在游戏中。

来源:互联网 

I am a student currently learning about Functional Reactive paradigm using F#. It's radically new viewpoint for me. Yesterday I learned about creating a simple ping-pong game using this paradigm. The idea I grasp so far is : we think values as functions of time. On its pure form, it's stateless. However, I need to remember the position of the ball (or state). So I always pass the current position of the ball as the parameter of the global function.I am a student currently learning about Functio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: