PeerJS WebRTC + offline AI
Paper Armada
Battleships with numbered public rooms, spectators, table reactions, and a solo computer opponent.
Commander
Start
Choose a mode, then place your fleet.
Hosting claims the first available room from 1 to 10. Quick join scans rooms 1 to 10, stops after bounded timeouts, and never loops forever. A room lives only while the host tab stays open.
Small strategy notes
Placing ships
Vary placements, mix orientations, and avoid repeating patterns. Edges can hide ships, but overusing edges becomes predictable.
Shooting
There is no guaranteed-win master strategy. Strong play uses checkerboard parity while hunting, then adjacent/line targeting after a hit.
Probability
Center cells usually fit more possible ship placements than corners. Stronger algorithms update a probability map after every miss, hit, and sunk ship.