statki/public/assets/js/socket-game.js
MaciejkaG 302fe3d328 Major changes
- Functioning lobbies with redirection to the board view
- Partly working game mechanics
2024-03-01 22:24:30 +01:00

6 lines
144 B
JavaScript

const socket = io();
socket.on("players ready", () => {
$(".cover").css({opacity: 0, pointerEvents: "none"});
socket.emit("shoot");
});