Skip to content

Instantly share code, notes, and snippets.

@girishso
Last active April 9, 2018 06:13
Show Gist options
  • Save girishso/9befcebe4590972ee20af514d6164b67 to your computer and use it in GitHub Desktop.
Save girishso/9befcebe4590972ee20af514d6164b67 to your computer and use it in GitHub Desktop.
GameState.elm
type alias GameState =
{ board : Dict.Dict Position Cell
, currentPlayer : Player
}
type alias Cell =
{ pebble : Pebble
, noKill : Bool
, state : CellState
type alias Position =
( Int, Int )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment