Skip to content

Conversation

@Aseke09
Copy link

@Aseke09 Aseke09 commented Nov 16, 2025

  • made on plane js, bot for single play are not implemented!
  • Implemented full server-side logic for the Battleship game (players, rooms, shots, and game finish) and aligned all WebSocket messages with the protocol specification.
  • Introduced a unified envelope format { type, data: string, id: 0 }, added correct handling for add_ships, attack, turn, and finish events, fixed direction interpretation to match frontend auto-placement, and implemented proper finish and update_winners broadcasting when all enemy ships are destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant