pong pretty / local rdy in back, need hooking in front

This commit is contained in:
bgoulard 2026-01-04 15:52:20 +01:00 committed by Maix0
parent c656839450
commit 0727067b27
4 changed files with 150 additions and 77 deletions

View file

@ -29,6 +29,7 @@ export type GameMove = {
moveRight: 'up' | 'down' | null,
}
// TODO: add new evt such as "local play", "ready-up" see: ./pong.ts
export interface ClientToServer {
enqueue: () => void;
dequeue: () => void;