p7/old/Config.hs

32 lines
866 B
Haskell
Raw Normal View History

2018-06-24 17:26:43 -04:00
module Config where
2018-06-24 19:21:29 -04:00
import System.Random
import State
import Timestamp
import Packs
2018-06-24 17:26:43 -04:00
genesis :: Timestamp
genesis = Ts 29 09 1996
seed :: Int
seed = 69420
entropy :: StdGen
entropy = mkStdGen $ seed
initialRotation :: State
initialRotation = ((i, o), b, r)
where
i = createInRot [
2018-06-24 19:21:29 -04:00
Lunar1, Lunar2, Lunar3, Lunar4, Lunar5, Lunar6
, Sansan1 , Sansan2 , Sansan3 , Sansan4 , Sansan5 , Sansan6
, Mumbad1 , Mumbad2 , Mumbad3 , Mumbad4 , Mumbad5 , Mumbad6
2018-06-24 17:26:43 -04:00
]
o = createOutRot [
2018-06-24 19:21:29 -04:00
Flash1 , Flash2 , Flash3 , Flash4 , Flash5 , Flash6
, Red1 , Red2 , Red3 , Red4 , Red5 , Red6
, Kitara1 , Kitara2 , Kitara3 , Kitara4 , Kitara5 , Kitara6
2018-06-24 17:26:43 -04:00
]
2018-06-24 19:21:29 -04:00
b = Bq [Just Cc, Just Hp, Just Oc, Just Dd, Just Td, Just Rr, Nothing]
2018-06-24 17:26:43 -04:00
r = entropy