SpaceRace: Full-width TV field, death line scrolling, camera following leader, jump fix, path never fully blocked, player color on controller

This commit is contained in:
2026-06-24 16:41:37 +02:00
commit 5e2ab43ca3
46 changed files with 6581 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { io, Socket } from 'socket.io-client';
import { ServerToTvEvents, TvToServerEvents, ExecutionResult, Ship, GameGridState } from '@spacerace/shared';
export type TvSocket = Socket<ServerToTvEvents, TvToServerEvents>;
export function connectTvSocket(): TvSocket {
const socket: TvSocket = io('/', {
transports: ['websocket', 'polling'],
});
return socket;
}