feat: initial pong game with online lobby

This commit is contained in:
2026-02-23 10:42:49 +01:00
commit 7e659b86bf
18 changed files with 4587 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "spill-pong",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0 --port 5173",
"lobby": "node server/lobby.js",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0 --port 4173",
"dev:all": "sh -c 'node server/lobby.js & vite --host 0.0.0.0 --port 5173'"
},
"devDependencies": {
"@vitejs/plugin-react": "^5.0.0",
"vite": "^5.4.14"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"ws": "^8.18.3"
}
}