Bug 739 - Improve GUI update logic
Summary: Improve GUI update logic
Status: RESOLVED FIXED
Alias: None
Product: Chess Game - Group 24
Classification: Unclassified
Component: GUI (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- enhancement
Assignee: gsalter2-c
URL:
Depends on:
Blocks:
 
Reported: 2022-11-28 01:15 HKT by gsalter2-c
Modified: 2022-11-28 14:35 HKT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gsalter2-c 2022-11-28 01:15:18 HKT
The GUI stores its own game status in a linked list, which is updated after every move the player makes. This game status may be not synchronized with the actual game status of the game, stored in Game.java class.
Comment 1 gsalter2-c 2022-11-28 01:16:22 HKT
Resolution:
Modify logic for GUI to store game status, it copies the game status from Game.java after each move.