This pull request will add more functionality to displaying textbox, add further depth to the ending cutscenes and implement the crucial win/loss system. This is an integral aspect of the main game loop and improves on our original pull request #179
Fixes / Closes # (issue)
210
209
208
206
116
169
170
115
114
128
Type of change
Check Win Loss
Integrated check win loss logic with ‘gold’ code
Triggered win/loss states based on win/loss logic
Integrated win loss logic with day/night cycle
Displaying textboxes
Improved algorithm to only show full words
Added docstrings and more testing
Added ability to display in forestGameArea
Cutscenes
Added an alternative cutscene for a good ending
Altered the timings for waiting in the cutscenes
Made the game close after the cutscene concludes
Added docstrings
Music - Added 8 bit theme music for main game loop
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[x] The cutscenes underwent visual validation to ensure that they executed as intended under all conditions that were available to us at the time of their creation. This involved calling their triggers and observing the resulting sprite and created text box.
[x] The check win loss logic, its integration with the gold code, triggering of win/loss states and integration with day night cycle was cumulatively tested by visual game play, and by altering the winAmount and loseThreshold to ultimately trigger the win and loss cutscenes, respectively.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
This pull request will add more functionality to displaying textbox, add further depth to the ending cutscenes and implement the crucial win/loss system. This is an integral aspect of the main game loop and improves on our original pull request #179 Fixes / Closes # (issue)
210
209
208
206
116
169
170
115
114
128
Type of change
Check Win Loss
Displaying textboxes
Cutscenes
Music - Added 8 bit theme music for main game loop
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: