h2048-0.1.0.2: a haskell implementation of Game 2048

Safe HaskellNone

System.Game.H2048.UI.Vty

Synopsis

Documentation

data PlayState g Source

indicate the status of a playing session

Constructors

PlayState 

Fields

psBoard :: Board

current board

psScore :: Int

current collected score

psGState :: GameState

indicate whether the game terminates

psRGen :: g

next random generator

mainVty :: IO ()Source

the entry for vty-ui CLI implementation