Skip to content

Commit

Permalink
Update game.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CricketFan18 authored Dec 28, 2024
1 parent 42d2844 commit 6972e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function checkAnswer(currentLevel) {
} else {
if(level-1 > highScore)
{
highScore = min(0,level-1);
highScore = level-1;
}
yourScore = min(0,level-1);
yourScore = level-1;
$(".highScore").text("HIGH SCORE : "+highScore);
$(".yourScore").text("YOUR SCORE : "+yourScore);
playSound("wrong");
Expand Down

0 comments on commit 6972e42

Please sign in to comment.