Skip to content
Snippets Groups Projects
Commit 35fea122 authored by Suraj De's avatar Suraj De
Browse files

Update Suraj_Indiv_report.md

parent 3748ccb4
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ For this code, i tried to implement the chain thing by creating a loop to check
To create structure, lots of if conditions were used to isolate the three sections and create the chain opening. The functionality worked initially but then, there were complications extending it to the bigger levels. This meant that the chain system wasn't flying off and after trying to come up with a plan to use recursion, i decided to give it another try. There were bugs popping out in the graphical system once the chain thing was done, but the main issue was that due to the recursion iteration, the game state was becoming static until the whole calculation was completed. This meant that the character was just stuck in a certain position, removing the facade of continuous movement to the player. This was a major flaw as the main element of character introduction was to have a difference in approach to the logic.
Thus, due to time limitation, the code was suited to keep the opening of surrounding tiles to one level and it was implied that the user had to use their logic to understand which tile to open. For instance, zero tiles represent zero mines surrounding it, so they should open the safe surrounding areas.
## Good Code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment