Skip to main content
CortexStack
All work
LiveGames · Real-time multiplayerCortexStack initiative
Web App Development

Battleship

The classic naval game, rebuilt with 3D boards and live online multiplayer

A browser Battleship with an eight-admiral campaign, quick battles, pass & play, and peer-to-peer online matches — 3D boards, ships, and missiles rendered in WebGL, with sound effects and music generated in code.

https://battleship.cortex-stack.ai

Battleship mid-game: burning hits and misses on the enemy's 3D board, the player's fleet, and the battle log
Battleship main menu with campaign, quick battle, pass and play, and online modes
Battleship quick-battle setup: opponent, firing mode, board size, and fleet options

8

Campaign admirals

P2P

Online multiplayer

1 file

Entire game build

The problem

Classic games online usually come with accounts, ads, and app-store installs — and real-time multiplayer on phones tends to break the moment a screen locks or the Wi-Fi drops. The goal was a version anyone can open from a link and play with a friend in seconds.

What we shipped

Battleship runs entirely in the browser with no accounts or downloads. One player hosts and shares an invite link; the match connects peer-to-peer over WebRTC, reconnects on its own after a dropped connection, and lets a player whose page reloads rejoin where they left off. Solo players work through a campaign from Cadet Pip, who fires at random, to the Kraken's eight-ship armada on a 15×15 abyss. The whole game builds to a single self-contained file.

Capabilities

  • Eight-admiral campaign with stars and ranks
  • Quick battle, pass & play, and online modes
  • Boards from 8×8 to 15×15 and three firing modes
  • Unit-tested rules, CPU, campaign, and multiplayer sync

Stack

JavaScriptthree.js (WebGL)PeerJS (WebRTC)Web Audioesbuild

More work

Play Battleship now

It runs in your browser — no install. Then tell us what you want to build; the same team will map a credible first release.