| License | MIT |
|---|---|
| Maintainer | Joe Leslie-Hurd <joe@gilith.com> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell98 |
Solve.Game
Description
Documentation
newtype PlayerState s Source #
Constructors
| PlayerState (s, s) |
getPlayerState :: PlayerState s -> Player -> s Source #
updatePlayerState :: (s -> (a, s)) -> PlayerState s -> Player -> (a, PlayerState s) Source #
nowOrNever :: Bool -> Event Source #
dfsWith :: Ord p => DfsPre p a v -> DfsPost p a v -> Val p v -> Player -> p -> (v, Val p v) Source #
forceWith :: Ord p => Game p -> Player -> (Player -> p -> Bool) -> Force p -> Player -> p -> (Event, Force p) Source #