feat: Implement initial multiplayer lobby and game room functionality with server-side room management.

This commit is contained in:
2025-12-14 21:42:13 +01:00
parent 1b8ae00da1
commit da643b787f
12 changed files with 713 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
import * as path from 'path';
export default defineConfig({
plugins: [react()],
@@ -15,6 +15,7 @@ export default defineConfig({
}
},
server: {
host: '0.0.0.0', // Expose to network
proxy: {
'/api': 'http://localhost:3000', // Proxy API requests to backend
'/socket.io': {