Write Games in Haskell
Haskell for Mac integrates a purely functional interface to the SpriteKit framework, including its sophisticated animation system and physics engine. Discover how to write games in a functional style. It only requires basic Haskell knowledge and is a great way to learn Haskell!
Powered by Apple’s SpriteKit Framework
Lazy Lambda: Live Coding a Game in Haskell
Watch the Compose :: Melbourne conference keynote Playing with Graphics and Animations in Haskell (slides), which explains the Haskell SpriteKit architecture and includes live coding a Flappy Bird clone in Haskell for Mac. The game source code is freely available on GitHub.
Inside Haskell SpriteKit
Haskell SpriteKit provides a functional interface without side effects to the object graph used to represent games scenes in SpriteKit. The animation on the right illustrates how Haskell transformation functions (such as SceneUpdate) translate into edits of that object graph. (More information on this library is available in the Haskell SpriteKit repository.)
©2018 Applicative. All Rights Reserved. ABN 98 214 510 772.
Apple, the Apple logo, MacBook Pro, Mac and OS X are trademarks of Apple Inc., registered in the U.S. and other countries. Mac App Store is a service mark of Apple Inc.