Private
Public Access
1
0

chg: dev: replace the legacy gos/web-socket-bundle & replace it with Mercure protocol #4

This commit is contained in:
2026-04-09 22:00:53 +02:00
parent b55c223d8a
commit 7219471a86
33 changed files with 1198 additions and 2324 deletions

View File

@@ -24,4 +24,30 @@ MineSeekerBundle_contact:
MineSeekerBundle_landing:
path: /landing-page
controller: App\Controller\GameController::landing
controller: App\Controller\GameController::landing
MineSeekerBundle_api_game_start:
path: /api/game/start
controller: App\Controller\MercureController::start
methods: [POST]
MineSeekerBundle_api_game_connect:
path: /api/game/connect/{gameAssoc}
controller: App\Controller\MercureController::connect
methods: [GET]
MineSeekerBundle_api_game_join:
path: /api/game/join/{gameAssoc}
controller: App\Controller\MercureController::join
methods: [POST]
MineSeekerBundle_api_game_step:
path: /api/game/step/{gameAssoc}
controller: App\Controller\MercureController::step
methods: [POST]
MineSeekerBundle_api_game_leave:
path: /api/game/leave/{gameAssoc}
controller: App\Controller\MercureController::leave
methods: [POST]