Options
All
  • Public
  • Public/Protected
  • All
Menu

This React component displays a div.game-over-status and reacts to "gameOver" events from Haskell. When a player wins a p is rendered inside the containing div. The p-tag will have a class describing who won, winner-1, winner-2, or in the case of a draw winner-null. When a new game is started the inside of the containing div is cleared.

Hierarchy

  • Component<{}, State>
    • GameOverStatus

Generated using TypeDoc