Inspired by the example of lunar game given in Functional Reactive Programming in (free) chapter Stop listening!, I coded an implementation of this game in GroovyFX. The result is the script attached to this post. The Groovy script also uses ReactFX project, that is an exploration of (functional) reactive programming techniques for JavaFX. You can see LunarLander.groovy in action in this screencas
{{#tags}}- {{label}}
{{/tags}}