Options
All
  • Public
  • Public/Protected
  • All
Menu

This React component displays whose turn it currently is.

It does so in a div.turn. The div is given an additional class that determine whose turn it it, player1 and player2 for the players, and player-null when no game is started yet.

Hierarchy

  • Component<{}, State>
    • TurnDisplay

Generated using TypeDoc