improved buzzer selction UI, responsive cursors and implemented 'special' buzzers (and some other buzzers as well)
This commit is contained in:
+9
-9
@@ -58,15 +58,15 @@ function passToClient(teamName) {
|
||||
$("#firstBuzz").html(teamName+" have Passed!");
|
||||
}
|
||||
|
||||
function selectBuzzer(buzzerId) {
|
||||
if (buzzerId == "Mystery") {
|
||||
buzzerId = buzzerOptions[Math.floor(Math.random()*(buzzerOptions.length-1))];
|
||||
}
|
||||
let buzzerSound = new Audio(buzzerId+".wav");
|
||||
$("#buzzer").attr("src", buzzerId+".png" );
|
||||
buzzerSound.play();
|
||||
return buzzerSound;
|
||||
}
|
||||
// function selectBuzzer(buzzerId) {
|
||||
// if (buzzerId == "Mystery") {
|
||||
// buzzerId = buzzerOptions[Math.floor(Math.random()*(buzzerOptions.length-1))];
|
||||
// }
|
||||
// let buzzerSound = new Audio(buzzerId+".wav");
|
||||
// $("#buzzer").attr("src", buzzerId+".png" );
|
||||
// buzzerSound.play();
|
||||
// return buzzerSound;
|
||||
// }
|
||||
|
||||
let objectionSound = new Audio("AAObjection.wav");
|
||||
function objectionToClient(userName) {
|
||||
|
||||
Reference in New Issue
Block a user