h2048-0.1.0.2: a haskell implementation of Game 2048

Safe HaskellNone

System.Game.H2048.UI.Simple

Synopsis

Documentation

drawBoard :: Board -> IO ()Source

pretty print the board to stdout

playGame :: RandomGen g => (Board, Int) -> RandT g IO ()Source

play game on a given board until user quits or game ends

mainSimple :: IO ()Source

the entry of Simple UI