codebeater - Beta Launch #10

Merged
5803025047 merged 103 commits from dev into main 2025-12-15 11:20:48 -05:00
Showing only changes of commit 52b377c472 - Show all commits

View File

@ -105,7 +105,7 @@ function selectAnswer(e){
if(wrongCount >= maxWrong){
setTimeout(()=>{
showScore();
}, 1500);
}, 500);
return;
}
}
@ -114,7 +114,7 @@ function selectAnswer(e){
if(button.dataset.correct === "true") button.classList.add("correct");
button.disabled = true;
});
setTimeout(nextQuestion, 5000)
setTimeout(nextQuestion, 500)
}
function showScore(){
@ -153,11 +153,11 @@ function postScore(score){
if(data.success || data.message === "Score accumulated") {
setTimeout(() => {
window.location.href = "../leaderboard.php";
}, 1500);
}, 3000);
} else {
setTimeout(() => {
window.location.href = "../leaderboard.php";
}, 1500);
}, 3000);
}
})
.catch(err => {