feat: add level schema and tilemap tests

- Introduced a JSON schema for game levels to validate level data structure.
- Added comprehensive tests for tilemap functionalities including collision resolution, tile type retrieval, and level loading.
- Enhanced the SyncSystem to manage remote state synchronization and interpolation for smoother gameplay.
- Implemented an AudioSystem with tests to ensure audio loading and playback functionality.
- Updated NetworkClient to support dynamic WebSocket URLs from environment variables.
- Added integration tests for matchmaking and network communication between clients.
- Improved RenderSystem to correctly render player nicknames above sprites.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-02 18:48:46 +02:00
parent 4ee2a0a159
commit a37eb14ba5
16 changed files with 3931 additions and 50 deletions
+3 -2
View File
@@ -11,9 +11,10 @@
"test:watch": "vitest"
},
"devDependencies": {
"@types/ws": "^8.18.1",
"jsdom": "^24.1.0",
"typescript": "~6.0.2",
"vite": "^8.0.10",
"vitest": "^1.6.0",
"jsdom": "^24.1.0"
"vitest": "^1.6.0"
}
}