Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
Use Notepad++ to create the game
*Program must be executable by NodeJS*
image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How do these values differentiate us from other companies?

Answered: 1 week ago

Question

create simple design pieces exhibiting visual and rhetorical focus.

Answered: 1 week ago