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
Allow players to undo their last move or redo a previously undone move. This feature is useful for casual play, testing, and learning scenarios.
Acceptance Criteria
Undo Capability: Players can undo their most recent move and return to the previous game state.
Redo Capability: Players can redo moves that were undone if no new moves have been made since.
Move History Sync: Move history display should update accordingly with each undo or redo.
Tasks
Implement an undo function that reverts the game state to the previous move.
Implement a redo function to reapply previously undone moves.
Update the move history and board state display with each undo/redo action.
Additional Notes
Ensure that undo/redo does not interfere with game logic, especially for special moves (e.g., castling, En Passant).
The text was updated successfully, but these errors were encountered:
Description
Allow players to undo their last move or redo a previously undone move. This feature is useful for casual play, testing, and learning scenarios.
Acceptance Criteria
Tasks
Additional Notes
The text was updated successfully, but these errors were encountered: