Delete team pageweb (obselete + useless)

This commit is contained in:
Sebastien Riviere
2025-09-04 16:51:10 +02:00
parent 51b99a699f
commit 31c43f6361
16 changed files with 5 additions and 561 deletions

View File

@@ -1,20 +0,0 @@
"use client";
import { useSocket } from "@/context/socketContext";
import { useTeamConnexion } from "@/context/teamConnexionContext";
import { useTeamContext } from "@/context/teamContext";
export default function useGame() {
const { teamSocket } = useSocket();
const { teamId } = useTeamConnexion();
const { teamInfos, gameState } = useTeamContext();
function sendCurrentPosition() {
teamSocket.emit("send_position");
}
function capture(captureCode) {
teamSocket.emit("capture", captureCode);
}
return {...teamInfos, sendCurrentPosition, capture, teamId, gameState};
}