In this assignment, I create a fun and interactive game for web browsers. This interactive game updates the HTML pages with jQuery library.
The object of the game is to get the user to click on each chess piece that will generate a random number. Each number generated will add a vaule to the "Score" allowing the user to match the "Taget Number".
This is how the game works. At the start of the game, the target number will be displayed. There are four chess pieces.By clicking on a chess piece, you will add a specific number of points to your total score.
The way you win the game is by matching your total to the target number. The way you lose the game is if your total score goes above the target number. The value of each chess piece is hidden from you until you click on it. Each time when the game starts, the game will change the target value and the value of each chess piece. The application should show the number of games the player wins and loses. To that end, do not refresh the page as a means to restart the game.
-
HTML
-
CSS
-
Javascript
-
JQuery
-
Reset