This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../lib/data/Game.hs
2022-12-13 23:21:51 +01:00

22 lines
420 B
Haskell

-- Representation of all the game's data
module Game
( Game(..)
, initGame -- Initialize the game
) where
----------------------------- Constants ------------------------------
data Game = Game {
-- TODO Add more
playerName :: String
}
----------------------------------------------------------------------
-- Initialize the game
-- TODO Expand
initGame :: Game
initGame = Game {
playerName = "Tibo"
}