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.Vty

Description

A CLI version of Game 2048 implemented using vty-ui

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