Updated GUI.py - Added in the importation of the "os.path" module - Changed the default fill colour of the addPieceToBoard function to be completely transparent (will have to be changed later to implement "shadow / ghost" pieces - Added in saveGameStateToFile function to save the fed in GameBoard matrix & MoveCounter to a save game file in the current directory called "Reversi Save Game" - Added in importGameStateFromFile function to load the game from the save game file "Reversi Save Game" and returns a fully populated game board as a return (currently the moveCounter that was saved is being trashed / ignored, need to figure out what to do with it / if its necessary) - Added in updateBoardPieces function that compares the fed in GameBoard matrix to the GUI's own GameBoard matrix & updates its own to match the fed in one, while adding on new / updated pieces - Added in a popup box to ask the user whether or not to load the save game file (only prompts if the file exists) - Runs the save game function automatically after the GUI has been closed from the Top Right cross button
Updated GUI.py
- Added in the importation of the "os.path" module
- Changed the default fill colour of the addPieceToBoard function to be completely transparent (will have to be changed later to implement "shadow / ghost" pieces
- Added in saveGameStateToFile function to save the fed in GameBoard matrix & MoveCounter to a save game file in the current directory called "Reversi Save Game"
- Added in importGameStateFromFile function to load the game from the save game file "Reversi Save Game" and returns a fully populated game board as a return (currently the moveCounter that was saved is being trashed / ignored, need to figure out what to do with it / if its necessary)
- Added in updateBoardPieces function that compares the fed in GameBoard matrix to the GUI's own GameBoard matrix & updates its own to match the fed in one, while adding on new / updated pieces
- Added in a popup box to ask the user whether or not to load the save game file (only prompts if the file exists)
- Runs the save game function automatically after the GUI has been closed from the Top Right cross button

StudentOrganisationForAreospaceResearch/GroundControl