You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Add a chess clock to limit the time each player has for their moves. Each player’s clock should count down when it is their turn, and the game should end if a player’s time runs out.
Acceptance Criteria
Individual Clocks: Display separate countdown clocks for both white and black players.
Switch on Move: Clocks switch automatically when a move is completed.
Time Expiry: End the game with a loss for the player whose time reaches zero.
Tasks
Add timers for each player that count down during their respective turns.
Implement logic to switch active clocks after each move.
Trigger game-over conditions when a player’s time expires.
Additional Notes
Consider adding customizable time settings for different time control options (e.g., blitz, rapid, classical).
The text was updated successfully, but these errors were encountered:
Description
Add a chess clock to limit the time each player has for their moves. Each player’s clock should count down when it is their turn, and the game should end if a player’s time runs out.
Acceptance Criteria
Tasks
Additional Notes
The text was updated successfully, but these errors were encountered: