Private
Public Access
1
0
Commit Graph

22 Commits

Author SHA1 Message Date
Sebastian Unterschütz
66f72d7a83 fix game
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 8m27s
2026-03-21 21:55:15 +01:00
Sebastian Unterschütz
223afed1a6 fix "2026/01/09 21:27:56 ⚠ Send channel voll, Nachricht verworfen"
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m43s
2026-01-09 22:29:43 +01:00
Sebastian Unterschütz
4be6cc791e - Refactor dirt and stone generation to optimize visible depth and adjust randomization.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 8m32s
- Remove unused `StartWebSocketGateway` function from `websocket_gateway.go`.
- Add security checks to track player-room mapping, enforce valid input, and prevent ID spoofing in `gateway.go`.
- Refactor touch control logic to dynamically position joystick and buttons above gameplay floor.
- Introduce dynamic floor Y-coordinate calculation (`GetFloorYFromHeight`) for better scaling across different screen sizes.
- Adjust rendering logic to align assets, particles, and debug visuals with dynamic screen height transformations.
- Update canvas CSS to support fullscreen scaling without center alignment.
2026-01-09 21:34:24 +01:00
Sebastian Unterschütz
023996229a Integrate shared physics engine for player movement and collision handling, refine 20 TPS gameplay logic, and enhance client prediction with server-reconciliation updates.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m51s
2026-01-06 21:37:32 +01:00
Sebastian Unterschütz
2a635d0aaa Add Cache-Control headers for static assets and versioned WASM/JS files in Gin server 2026-01-06 18:46:48 +01:00
Sebastian Unterschütz
f121fa5ced Initialize Redis-backed RoomRegistry for room-to-pod assignment and add Pod-specific game.join handling logic with NATS subscriptions. Update cache-busting version for client assets.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m30s
2026-01-04 20:38:18 +01:00
Sebastian Unterschütz
6606d67a21 Switch game.join and leaderboard handlers (leaderboard.get, leaderboard.request) to NATS Queue Groups, remove room-to-pod assignment logic for simplified load balancing, and add detailed Pod-specific logging.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m29s
2026-01-04 18:28:25 +01:00
Sebastian Unterschütz
4b3466a1b0 Revise room-to-pod assignment logic with hash-based distribution for improved load balancing and better replica handling.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m31s
2026-01-04 17:41:46 +01:00
Sebastian Unterschütz
400a7e752b Add PlayerCode for enhanced score tracking and host validation logic in cooperative mode. Optimize UI for mobile devices with new responsive styles.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m27s
2026-01-04 17:34:19 +01:00
Sebastian Unterschütz
8f49a691f7 Introduce room assignment logic based on POD_NAME and TOTAL_REPLICAS, enable selective handling for game.join and score.submit events, and update environment configurations.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
2026-01-04 17:16:09 +01:00
Sebastian Unterschütz
a17a6f5e9f Increase replicas to 2 in Kubernetes deployment and switch game.start and game.input handlers from NATS Queue Groups to broadcast mode.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m29s
2026-01-04 16:54:13 +01:00
Sebastian Unterschütz
a85b519051 Enable NATS Queue Groups for game.join, game.start, and game.input handlers to support load balancing.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
2026-01-04 16:32:47 +01:00
Sebastian Unterschütz
932edf74f2 Enhance Redis and NATS connection logic with retry mechanisms, exponential backoff, and improved error handling.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
2026-01-04 15:44:00 +01:00
Sebastian Unterschütz
43680ece16 Add NATS deployment and service configuration, integrate environment variables, and update server to support NATS and Redis connections.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m24s
2026-01-04 15:37:09 +01:00
Sebastian Unterschütz
755feb8394 Update asset metadata and dependencies; refine obstacle type to wall.
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m41s
2026-01-04 15:15:10 +01:00
Sebastian Unterschütz
16f683a360 Add Docker, Kubernetes configurations, and CI workflows for deployment. Integrate Gin server for API, WebSocket support, and static file hosting. Refactor WebSocket gateway to use Gin router.
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
2026-01-04 15:14:55 +01:00
Sebastian Unterschütz
95d61bf66e Add WebAssembly support for assets and chunks, implement gameover screen rendering, and enhance server gameplay logic with dynamic speeds, team naming, and score components. 2026-01-04 14:30:31 +01:00
Sebastian Unterschütz
3232ee7c2f Add platform-specific implementations for assets, audio, WebSocket, and rendering on Desktop and WebAssembly platforms. Introduce embedded assets for WebAssembly and native file handling for Desktop. Add platform-specific chunk loading and game state synchronization. 2026-01-04 01:25:04 +01:00
Sebastian Unterschütz
de64329ce4 Add leaderboard functionality with Redis integration for scores. This includes a global leaderboard system, server-side score submission handling, and real-time player ranking updates. Refactor and improve collision logic and game state management for better player experience. 2026-01-01 19:23:09 +01:00
Sebastian Unterschütz
5e6b8a2304 Implement core game functionalities: client prediction, coin collection, scoring, game state synchronization, and player management. 2026-01-01 16:46:39 +01:00
Sebastian Unterschütz
4b2995846e Add initial project structure for "Escape From Teacher" game: server, client, level editor, and asset framework. Includes game rendering, physics, WebSocket server, NATS integration, and asset management setup. 2026-01-01 15:21:50 +01:00
Sebastian Unterschütz
3099ac42c0 Introduce core components for "Escape From Teacher" game: server, client, physics, asset system, and protocol definitions. Add Docker-Compose setup for Redis and NATS infrastructure. 2026-01-01 15:21:18 +01:00