Jaizzer / battleship

Battleship game
https://jaizzer.github.io/battleship/
MIT License
2 stars 0 forks source link
battleship battleship-game good-first-issue html5 online-game vanilla-css vanilla-javascript

Battleship

Overview

Play Game

This Battleship game is a classic strategy game implemented in JavaScript. The goal of the game is to sink all of your opponent's ships before they sink yours. Players take turns guessing the coordinates of their opponent's ships on a grid. The first player to sink all of their opponent's ships wins the game.

Features

Getting Started

To play the Battleship game, simply open Battleship.

How to Play

  1. Setup: Each player places their ships on the grid.
  2. Take Turns: Players take turns guessing the coordinates of their opponent's ships.
  3. Hit or Miss: If a guess hits an opponent's ship, it's a hit. Otherwise, it's a miss.
  4. Sink Ships: Continue guessing until all of your opponent's ships are sunk.
  5. Winning: The first player to sink all of their opponent's ships wins the game.

License

This project is licensed under the MIT License - see the LICENSE file for details.