implemented startNewGame
This commit is contained in:
@@ -41,4 +41,6 @@ resetYtd
|
||||
|
||||
-- | Starts a new game
|
||||
startNewGame :: ProgState -> ProgState
|
||||
startNewGame = undefined
|
||||
startNewGame
|
||||
= (progMode .~ NewGame newGameState)
|
||||
. (database . dbGames .~ 0)
|
||||
|
||||
Reference in New Issue
Block a user