Closed perennialAutodidact closed 1 year ago
For now, the playerHUD
components can be of equal width, but considerations should be made as to how they will change width dynamically based on the current player's turn.
The component should render the player's name and score from context.
The
PlayerHUD
component will display the name and score for a single player. The component will reused for each player.The
PlayerHUD
will render with player data from theGameContext
.See
design/components/GameBoard.png
for design details.This image shows two
PlayerHUD
components rendered side-by-side in a container.