Skip to content

Conversation

@fainmariya
Copy link

This pull request implements the Battleship game using WebSockets.

What was done:

  • Implemented WebSocket server (rooms, game sessions, players logic)
  • Added game board, ships placement, attacks handling
  • Implemented start_game, turn logic, finish logic
  • Added rooms creation and joining
  • Added winners table update
  • Implemented ship placement validation
  • Added communication between two players in a room

Notes:

  • Manual and automatic ships placement is implemented
  • Game logic fully works: hits, misses, kill detection, switching turns
  • Bot mode not implemented yet

Requirements:

This PR completes the WebSockets task from Rolling Scopes School.

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