Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fabien's choose_your_own_adventure_js (Resubmit) #211

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fabienlimzk
Copy link

Deliverable Submission

Please describe your comfort and completeness levels before submitting.

Comfort Level (1-5):
3

Completeness Level (1-5):
3.5

How many hours did you spend on this assignment?
10 hours, spend of most of my time trying this and that but end up it still does not work.

What part did you spend the most time on?
Thinking of the adventure but end up using the examples

Does the assignment run without errors?
//No errors but i did not know how to do
No errors

If the assignment has errors, what are they?

Describe one part of the code or choose one line you would improve upon.
//The if / if else statement, i do not know how to implement if the input not equals to 'B' or 'G' then return the previous question which is from the object.
Manage to fix the problem mentioned above.

What would you improve?
//What I have mentioned above.
To come out with my own adventure but I cannot think of any.

What did you think of this deliverable? Any other comments?
Okay. Getting more challenging.

Assign a score for each task in the game. Report the player's score at the end of the game.
Have your player repeat a set of challenges or questions over again- if a player enters a situation or room, allow them to leave and come back if they want.
Pseudo-coded Example
You are in a dark room. Would you like to enter the left door or the right door?
(user chooses left door)
You enter a drawing room with heavy curtains. A mage is sitting on the sofa. Would You like to talk to him? Yes, talk to him/Leave through the right door/Leave through the left door -----> Left door leads to the dark room

Further
newline: if you want to output formatted paragraphs of text, you can try \n which creates a new line in yoour text.

Refactor your code to create a function or series of functions that formats your output in a nice way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant