IDK Button implemented + new buzzers

This commit is contained in:
Samuel Kent
2023-03-26 12:33:18 +11:00
parent 8925d9eb29
commit 85247cf8c8
21 changed files with 91 additions and 16 deletions
+11 -3
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Now with more buzzers per buzzer!</title>
<title>Pledge Monolith!</title>
<link rel="stylesheet" href="styleMain.css">
<script src="browserFunctions.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
@@ -18,14 +18,22 @@
gameStateToClient(currentTeam, currentScore);
});
socket.on("clearBuzzers", () => {
$("#firstBuzz").html("");
socket.on("clearBuzzers", (currentTeam) => {
clearBuzzers();
});
socket.on("buzzInfoToClient", (buzzInfo) => {
buzzInfoToClient(buzzInfo);
});
socket.on("idkListToClient", (idkList) => {
idkListToClient(idkList);
});
socket.on("passToClient", (teamName) => {
passToClient(teamName);
});
$("#plus0").click(function() {
socket.emit("scoresToServer", 0);
});