Skip to content

feat(client): NetworkManager WebSocket + GameState apply_server_update

AMARI SIRINE requested to merge feature/client/network-manager into develop

Changements

  • NetworkManager.gd : connect_to_server, _process (polling WebSocketPeer), send_message
  • GameState.gd : apply_server_update() — gère game_start, board_update, tile_drawn, new_turn, game_over
  • GameState.gd : replenish_hand_with()

SI implémentées

  • SI2 : connect_to_server(url, token)
  • SI3 : _process avec polling WebSocketPeer
  • SI4 : send_message(data)
  • SI6 : apply_server_update(message)
  • SI7 : replenish_hand_with(tile)

Bloqué

  • SI5 (test intégration) : en attente de Walid (WebSocket server) et Sofian (headless)

Merge request reports