Bobby Kwong choose your own adventure #198
Open
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.
I added the commits into a wrong repo previously. So i only have one commit in this pull request. Sorry about that
Deliverable Submission
Please describe your comfort and completeness levels before submitting.
Comfort Level (1-5): 3
Completeness Level (1-5): 3
How many hours did you spend on this assignment? 5?
What part did you spend the most time on? Creating the story
Does the assignment run without errors? There are errors in one part. But they only appear at random instances so I am unsure how to resolve them.
If the assignment has errors, what are they?
It is the part where the user is fighting with the orc. I am using math.random to do "damages". Sometimes there is error when the "dice" is rolled.
Describe one part of the code or choose one line you would improve upon.
What would you improve?
A lot of my stuff appears in the console.log, which is not realistic for somebody who is playing the game.
What did you think of this deliverable? Any other comments?
Good challenge. Makes me realise that I am not organising my structure well.