You are going to create your own Choose Your Adventure game. Scenario is, the player have just arrived at a four way stop and have to decide if they can go.
- See if the player wants to play the game.
- Get the player's name
- If the player does not provide a name, give the player a generic name
- Welcome the player to the game
- Play the game.
- See if the player is the only one waiting?
- If true, have the player proceed.
- See if the player was the first one there?
- If true, have the player proceed.
- See if the player is the furthest to the right?
- If true, have the player proceed.
- See if the player is the only one waiting?
Link to the PDF walkthrough. Link to project on LMS Choose Your Own Adventure.
- Variables
- Booleans
- Strings
- Conditionals - if
- document.write