#18 & massive structure overhaul

This commit is contained in:
Tibo De Peuter 2022-12-19 22:54:42 +01:00
parent 83659e69b4
commit 3b0de65de1
16 changed files with 397 additions and 221 deletions

View file

@ -1,25 +0,0 @@
-- Representation of all the game's data
module Game
( Game(..)
-- Initialize the game
, initGame
) where
import State
----------------------------- Constants ------------------------------
-- TODO Add more
data Game = Game {
-- Current state of the game
state :: State
}
----------------------------------------------------------------------
initGame :: Game
initGame = Game {
state = defaultState
}