Add cli opts for score, level, and restricting unicode
This commit is contained in:
parent
2c150c7b27
commit
8e2240c87c
3 changed files with 72 additions and 9 deletions
|
@ -41,8 +41,8 @@ app = App { appDraw = drawUI
|
|||
, appAttrMap = const theMap
|
||||
}
|
||||
|
||||
playGame :: Int -> IO Game
|
||||
playGame lvl = do
|
||||
playGame :: Int -> Maybe String -> IO Game
|
||||
playGame lvl _ = do
|
||||
let delay = levelToDelay lvl
|
||||
chan <- newBChan 10
|
||||
forkIO $ forever $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue