Add cli opts for score, level, and restricting unicode

This commit is contained in:
Sam Tay 2017-07-02 17:47:21 -04:00
parent 2c150c7b27
commit 8e2240c87c
3 changed files with 72 additions and 9 deletions

View file

@ -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