A functionally reactive game engine, with headgear to protect you from the headache of game development provided. Inspired by Elm.


import FRP.Helm
import qualified FRP.Helm.Window as Window

render :: (Int, Int) -> Element
render (w, h) = collage w h [move (100, 100) $ filled red $ square 64]

main :: IO ()
main = run defaultConfig $ render <~ Window.dimensions
  

© 2013-2014 Switchface Studios

#haskell-game