Project Description
WeakestLink – JavaScript Game
Original Description:
Weakest Link (aka The Weakest Link) is a television game show which first appeared in the United Kingdom on BBC Two on 14 August 2000 and originally ended on 31 March 2012 when its host Anne Robinson completed her contract. The original British version of the show is still aired around the world on BBC Entertainment. The game begins with a team of contestants who take turns answering general knowledge questions within a time limit to create chains of correct answers in a row. At the end of each round, the players vote one contestant, “the weakest link”, out of the game. Once two players are left, they play in a head-to-head contest, with five questions asked to each contestant in turn, to determine the winner.
(Source WIKIPEDIA)
GAME OVERVIEW:
User must enter a name and age, He can’t leave age empty, or it cant be a string. The javascript codes check if the entered value is a number or not, if its not a number then it prints error message. If both the entered values are correct then sessionStorage is used to set the Name and age to a variable and location.replace is used so that the user can be taken to the round1 html page. Error if you enter a value that is not a number.
If the answer is correct, the screen displays a popup and the money tree moves up and next question is shown. The timer for this round is 120 seconds. Once the player clicks bank, the amount is saved : And it starts again from $0; If you click on bank again, the previous bank balance is added to the new one. And money tree becomes 0 again
More Projects
School Projects • Web and Android Applications • Game Projects
- Patient Monitoring App with AI based Stroke Prediction – React and Node.jsadmin2021-07-05T00:37:03-05:00
![quotes-1-1](https://www.rohanjuneja.com/wp-content/uploads/2020/12/quotes-1-1.png)
“That’s been one of my mantras — focus and simplicity. Simple can be harder than complex; you have to work hard to get your thinking clean to make it simple.”
“Creativity is intelligence having fun.”
“I think if you do something and it turns out pretty good, then you should go do something else wonderful, not dwell on it for too long. Just figure out what’s next.”
“Don’t spend time beating on a wall, hoping to transform it into a door.”