(tic-tac-toe): Laid the foundations for tic tac toe/database interactions

This commit is contained in:
apetitco 2025-12-20 01:22:55 +01:00
parent e46f031f64
commit 333caf09ee

View file

@ -7,7 +7,7 @@ import * as auth from '@shared/auth';
import * as swagger from '@shared/swagger'; import * as swagger from '@shared/swagger';
import * as utils from '@shared/utils'; import * as utils from '@shared/utils';
import { Server } from 'socket.io'; import { Server } from 'socket.io';
import type { TicTacToeData } from '@shared/database/mixin/tictactoe'; import type { TicTacToeImpl } from '@shared/database/mixin/tictactoe';
declare const __SERVICE_NAME: string; declare const __SERVICE_NAME: string;
@ -83,6 +83,7 @@ async function onReady(fastify: FastifyInstance, game: TTC) {
turn: game.currentPlayer, turn: game.currentPlayer,
lastResult: result, lastResult: result,
}); });
// setGameOutcome();
} }
}); });