Fixes issues #74 and #10 (UPDATE: Also fixes issues #77 and part of #34) #89
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #74 (Fix Surrender) has been resolved - When the button is pressed once, the current player's turn is skipped. When it is pressed twice in a row, a winner is decided. Now works on CSIL.
Issue #10 (Save and Load Game) has been resolved - Pressing the "Save Game" button saves the current game and all settings (music on/off, sound effects on/off, surrender, win/lose, skip turn, score, board size, etc.). The necessary information is stored in "save.ser". Pressing the "Load Game" button loads the saved game. Only one game can be saved at a time.
Issue #77 (Opening on window sizes incorrectly) has been resolved - This issue was reopened because, although it works on CSIL - on Windows, this was found to be an issue. The windows now open up to their correct size on Windows machines.
Issue #34 (Add another mode for a single player to play with computer) has been partially resolved - the Random AI portion (150 points) was created, not the intelligent AI (500 points). Unfortunately, the player must click for the AI to place their stone, but the AI is the one who decides where the stone goes (randomly). The player may have to click multiple times in order for the AI to choose a valid spot. The player will also have to skip the AI's turn if they click repeatedly and the AI won't do anything because there are no more valid moves for it to make.