Skip to content

Instantly share code, notes, and snippets.

View mark-chimes's full-sized avatar

Mark Chimes mark-chimes

View GitHub Profile
@mark-chimes
mark-chimes / DialogAppend.elm
Created March 14, 2018 10:17
Example of the way the dialog is currently implemented. See full files here: https://github.com/mark-chimes/trading-post
# types
type alias Model =
{ viewState : ViewState
, gameState : GameState
}
type alias GameState =
{ gold : Int
, goldOfferGetVal : Int