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.
div.turn
div
player1
player2
player-null
Generated using TypeDoc
This React component displays whose turn it currently is.
It does so in a
div.turn
. Thediv
is given an additional class that determine whose turn it it,player1
andplayer2
for the players, andplayer-null
when no game is started yet.