Question

Create a story/game in JavaScript (sublime text). include: 1. 7 "if/else statements 2. loops 3.boolean variables...

Create a story/game in JavaScript (sublime text).

include:

1. 7 "if/else statements

2. loops

3.boolean variables

4. functions

Must be played 3 times before failing.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

<! doctyfe html> <html) <head> <script> Junction guess () Var ig bvalue =true; Jor (i=1; ic=3; it) var amount = brompt ( Bel

This is a number guessing game. You have to guess a number between 0 and 9(integers) three times. System also guess ramdom number between 0 and 9. If your guess matches with system guess you win double the amount you bet.

Add a comment
Know the answer?
Add Answer to:
Create a story/game in JavaScript (sublime text). include: 1. 7 "if/else statements 2. loops 3.boolean variables...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT