CPSC 3750 ยท Phase 2

Battleship Client

Register, join open games, place 3 ships, fire on your turn, track move history, and watch all boards update live.

Current player
Not registered
Stored in localStorage so refreshes keep your player.

1. Register player

The client stores your player id locally so you stay signed in after refresh.

2. Games

The API spec does not expose a public game list. This client tracks games you create, join, or open by id.

3. Active game

No game selected
Join or create a game to begin.
Place exactly 3 ships. Click your board to choose cells, then confirm.

Your board

Ships are shown in blue. Opponent hits are red. Opponent misses are gray when the API makes them identifiable.

Target board

This board shows only your shots. Click an untargeted cell here when it is your turn.

4. Move history

With timestamps

5. Leaderboard