Skip to content

ispyisail/battleship-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Battleship Brain Teaser

A web-based battleship puzzle game where you have to find the hidden fleet of ships based on the clues provided.

How to Play

  1. The Goal: Find the entire hidden fleet of ships.
  2. The Clues: The numbers on the top and left tell you how many ship segments are in that column or row.
  3. Controls:
    • Click on a cell to cycle through: Water -> Ship -> Empty.
    • Long-press (or Ctrl + Click) to mark a square you're unsure about with a small triangle.
  4. Rules:
    • Ships are always in a straight line.
    • Ships can never touch another ship, not even at the corners.
  5. Marking Clues: Click on the row and column clues to mark them as complete. This will turn them orange.
  6. Marking Ships: Click on the ship icons in "The Fleet" section to mark them as complete. This will turn them orange.

How to Run

  1. Clone the repository to your local machine.
  2. Open the index.html file in your web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages