Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Notepad++ to create the game *Program must be executable by NodeJS* Assignment 2: Lost Fortune 2.0 Introduction: In this assignment we will demonstrate an
Use Notepad++ to create the game
Assignment 2: Lost Fortune 2.0 Introduction: In this assignment we will demonstrate an understanding of conditionals and loops. 1. Create a new file named lost_fortune_20.js 2. After you display your introduction, extend your storyline by coming up with four options for the user to choose from in the story such as: 1) Enter the cabin? 2) Eat the bowl of oatmeal? 3) Sit in the chair? 4) Lay in the bed? The options should make sense within your existing story line. Display these options to the user. 3. Prompt the user to select an option. 4. Display another part of the story line based on the option the user selected. 5. Track user lives: The user should start the game with 3 lives. One of your story options should result in the user losing a life. After each option, display the updated statistics. 6. Prompt the user to play again. If yes, start your game over, if not, end the game and say goodbye!. 7. Modify the game to allow the user to enter their name as the leader name. Assignment 2: Lost Fortune 2.0 Introduction: In this assignment we will demonstrate an understanding of conditionals and loops. 1. Create a new file named lost_fortune_20.js 2. After you display your introduction, extend your storyline by coming up with four options for the user to choose from in the story such as: 1) Enter the cabin? 2) Eat the bowl of oatmeal? 3) Sit in the chair? 4) Lay in the bed? The options should make sense within your existing story line. Display these options to the user. 3. Prompt the user to select an option. 4. Display another part of the story line based on the option the user selected. 5. Track user lives: The user should start the game with 3 lives. One of your story options should result in the user losing a life. After each option, display the updated statistics. 6. Prompt the user to play again. If yes, start your game over, if not, end the game and say goodbye!. 7. Modify the game to allow the user to enter their name as the leader name *Program must be executable by NodeJS*
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started