h2048-0.2.0.0: a haskell implementation of Game 2048

Copyright(c) 2014 Javran Cheng
LicenseMIT
MaintainerJavran.C@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Game.H2048.UI.Simple

Description

A simple CLI implemention of Game 2048

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