Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JavaScript Magic Card Game Have a look at this Mystery Calculator which came out of a cracker this Christmas. The complete set consists of 6

JavaScript Magic Card Game

Have a look at this "Mystery Calculator" which came out of a cracker this Christmas.

The complete set consists of 6 cards printed with a series of numbers. Show all the cards to a friend and ask him or her to select one number from any one card. Show the other five cards to your friend asking him or her to say whether the number appears on these cards.

Take all the cards on which your friend says the number appears, add together the top left-hand corner number of each card and the total is the number your friend selected. image text in transcribedYou should be able to ask the user to select the cards where the number appears, do the calculations, and provide the user with the correct number he/she thought.

JAVASCRIPT ONLYYYYYYY!!!!!!!!!!!!!!!!

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 34 35 38 39 42 43 46 47 50 51 54 55 58 59 62 63 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 36 37 38 39 44 45 46 47 52 53 54 55 60 61 62 63 49 51 53 55 57 59 61 63 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 40 41 42 43 44 45 46 47 56 57 58 59 60 61 62 63 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

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

Step: 3

blur-text-image

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

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions

Question

2. What process will you put in place to address conflicts?

Answered: 1 week ago