added ball + bounces; started on queu system for user to join game

This commit is contained in:
bgoulard 2025-12-14 16:12:19 +01:00 committed by Maix0
parent 7571927097
commit 8a6394786c
7 changed files with 258 additions and 182 deletions

View file

@ -9,7 +9,7 @@ import { getUser } from "@app/auth";
* @param msgCommand
*/
export function broadcastMsg (socket: Socket, msgCommand: string[]): void {
let msgText = msgCommand[1] ?? "";
let msgText = msgCommand[1] ?? "";
addPongMessage(msgText);
const user = getUser();
if (user && socket?.connected) {