Enhanced City_builder_game to a new level #4671
Merged
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.
PR Description 📜
Fixes #4665
I have enhanced the game to a new level , previously it was not doing very much , you had fixed amount of credit with which you just add some building , there is no start or end of the game , there is no win or lose.
After this enhancement the game have more features like factories produce pollution with time, they also produce money , parks reduce the pollution and cost money for maintaining them same is for houses , they generate pollution and need money for maintenance .
Also there are condition to win the game or lose the game , once the game end you can restart it , or if you want you can even restart in the middle of game.
Also made the game responsive to different screen sizes.
Mark the task you have completed ✅
Add your screenshots(Optional) 📸
start of the game
completed the game
won the game
Note :-
There was some trouble cloning the project , so I uploaded the files directly to forked repo , because of which ,you don't see what I changed and what I deleted , it shows that I deleted everything and rewrote everything.