Skip to content

Commit

Permalink
add ugly pause button, fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
brandly committed Nov 1, 2019
1 parent 4eeaf10 commit 0a0b3ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TwoPlayer/Game.elm
Expand Up @@ -260,6 +260,7 @@ viewArena first second winner =
[ span [] [ text <| displayViruses first ]
, span [] [ text <| displayViruses second ]
]
, Html.button [ onClick Pause ] [ text "Pause" ]
]
, viewPlayer second (isWinner Second)
]
Expand Down

0 comments on commit 0a0b3ca

Please sign in to comment.