mirror of
https://github.com/MaciejkaG/statki.git
synced 2024-11-30 04:42:55 +01:00
302fe3d328
- Functioning lobbies with redirection to the board view - Partly working game mechanics
6 lines
144 B
JavaScript
6 lines
144 B
JavaScript
const socket = io();
|
|
|
|
socket.on("players ready", () => {
|
|
$(".cover").css({opacity: 0, pointerEvents: "none"});
|
|
socket.emit("shoot");
|
|
}); |