deterministic-game-engine 0.2.0 → 0.2.1
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~deterministic-game-enginePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: deterministic-game-engine
API changes (from Hackage documentation)
Files
- Src/GameEngine.hs +1/−1
- deterministic-game-engine.cabal +2/−2
Src/GameEngine.hs view
@@ -79,7 +79,7 @@ playIO :: (GameState a -> IO ()) -> GameEngine a b -> IO Int -- ^ Run the provided game engine within an IO context until a terminal state is reached.-playIO f = play (f >> return)+playIO f = play (\x -> f x >> return x) getNextState :: GameEngine a b -> GameState a
deterministic-game-engine.cabal view
@@ -1,5 +1,5 @@ name: deterministic-game-engine-version: 0.2.0+version: 0.2.1 synopsis: Simple deterministic game engine description: Haskell library for creating simple deterministic games, such as tic-tac-toe. The engine requires a minimal set of@@ -42,6 +42,6 @@ type: exitcode-stdio-1.0 build-depends: base <5.0, hspec >=2.1 && <2.2,- deterministic-game-engine+ deterministic-game-engine ==0.2.1 default-language: Haskell2010