free-game-0.3.2.4: Create graphical applications for free.

MaintainerFumiaki Kinsohita <fumiexcel@gmail.com>
Safe HaskellNone

Graphics.FreeGame

Contents

Description

free-game is a library that abstracts and purifies GUI applications with simple interfaces.

Synopsis

Examples

 import Graphics.FreeGame.Simple
 main = runSimple defaultGameParam () return

shows a window and does nothing.

for more examples, see https://github.com/fumieval/free-game/tree/master/examples.

Reexports

runGame :: GameParam -> Game a -> IO (Maybe a)Source

Run a Game computation.

runGame' :: GameParam -> (forall m. MonadFree GameAction m => m a) -> IO (Maybe a)Source

Run more efficiently.