You will be creating a text based game that will allow the player to make decisions that determine their outcome.
After completing this assignment, you should…
- Have a basic understanding of most javascript datatypes (numbers, strings, booleans, objects, arrays, and functions)
- Understand the use of operators for equality and assignment as well as control flow.
-
A repository containing at least:
main.js
index.html
- The choose your own game should have, at minimum, 3 steps.
- The game will have 3 different endings.
- The story of your choose your own adventure game can be of your choosing
In addition to the above requirements, hard mode means that you also must keep score for the user so that at the end the user will have a score based on navigating through your adventure.
In addition to keeping score, to successfully satisfy Nightmare mode, you are not allowed to use prompt()
, confirm()
, alert()
and the entirety of the game must be played and displayed on the index.html web page.