Added a options menu with working sliders and buttons

This commit is contained in:
2020-03-15 23:35:46 +01:00
parent a9bfbe4f95
commit ec6ae74633
8 changed files with 118 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ function make_playground() {
function clear_playground() { //When called, makes the playground empty
document.getElementById("test-group").innerHTML = "";
clear_values();
} //hello
}
function randomized() { // Fills the array with random numbers. Max number determines by level
while (play_array.length < difficulty) {
@@ -167,7 +167,7 @@ function reply_click(clicked_id) { // Grabs the value from the id on the div/car
} else {
document.getElementById("score").innerHTML = parseInt(x) * 2 + 30;
}
alert("You survived this round!");
// alert("You survived this round!");
nextRound();
}
}