swarm-0.7.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellNone
LanguageHaskell2010

Swarm.Game.State.Initialize

Description

Definition of the record holding all the game-related state, and various related utility functions.

Synopsis

Documentation

scenarioToGameState :: ScenarioWith (Maybe ScenarioPath) -> ValidatedLaunchParams -> GameStateConfig -> IO GameState Source #

Create an initial game state corresponding to the given scenario.