Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Synic-dx committed Mar 9, 2024
1 parent 6d3355f commit f63b996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function bet100() {
} else if (gameLive===true) {
alert("Game ongoing, you cannot bet now");
} else {
textright.innerText = "You do not have 100 cash";
alert("You do not have 100 cash");
}
}

Expand All @@ -192,7 +192,7 @@ function bet500() {
} else if (gameLive===true) {
alert("Game ongoing, you cannot bet now");
} else {
textright.innerText = "You do not have 500 cash";
alert("You do not have 500 cash");
}
}

Expand All @@ -208,7 +208,7 @@ function bet1000() {
} else if (gameLive===true) {
alert("Game ongoing, you cannot bet now");
} else {
textright.innerText = "You do not have 1000 cash";
alert("You do not have 1000 cash");
}
}
// Function to check the winner
Expand Down

0 comments on commit f63b996

Please sign in to comment.