Battleships

server asleepIt runs on request rather than all the time, so most days the address will not answer at all. The badge is a heartbeat the server writes every minute, so it shows whether the server is actually up.

Played in your terminal, over SSH. No signup, no client to install: your public key is your account.

ssh play.phons.dev

Connect with an SSH key

Your public key is your account, so there is nothing to sign up for. Without one you can still play, but nothing is recorded, you will not appear on either leaderboard, and you cannot reconnect into your seat if you drop mid-game. Run this once, then connect as above:

ssh-keygen -t ed25519

The server is asleep, so that command will not connect right now. It runs on request, or you can run your own copy.

The board

X
hit
o
miss
×
water around a sunk ship
·
unknown

Rules

  1. Two 16x16 grids and a fleet of eight ships, 28 cells in total.
  2. Ships may not touch, corners included.
  3. Not every ship is a line: two are L shaped and one is a T.
  4. A hit earns another shot. The go only passes on a miss.
  5. Sinking a ship reveals the water around it.
  6. Sink all 28 cells to win.
  • Carrier#####
  • Battleship####
  • Cruiser###
  • Submarine###
  • Destroyer##
  • Corvette#·#·##
  • Tender###·#·
  • Cutter#·##

Playing

  • Play the bot, or create a room and give a friend the four-letter code.
  • Arrow keys move, r rotates, enter places or fires, and R auto-places the rest of your fleet.
  • Drop out mid-game and your seat is held for 60 seconds: reconnect, type the room code again and you are back where you left off. After that you forfeit.
  • Wins against people count on the ranked board. Bot wins only reach the all-wins one.