Skip to content

xsayedmahmud/battleship

Repository files navigation

Battleship AI Game 🚢

Description

An interactive Battleship game built with HTML, CSS, and JavaScript, featuring a smart AI opponent. Players can manually place or randomize their fleet and enjoy a challenging gameplay experience.

Features

  • Drag-and-Drop Interface: Easily place your battleships on the board.
  • Smart AI Opponent: Compete against an AI that makes intelligent moves based on previous moves and history.
  • Rotatable Ships: Double-click to rotate your ships either horizontally or vertically.
  • Random Placement: Can't decide? Let the system randomize ship placement for you.
  • Sound On/Off: Enable or disable sound effects for hit and miss attacks.
  • Responsive UI: Enjoy a seamless experience on any device.

Future Plans

  • 🤝 Multiplayer: Play against friends or family.
  • 🌐 Online Matchmaking: Compete against anonymous opponents globally.
  • 💌 Shareable Links: Send game invites effortlessly.

Live Demo

Experience the game now: Live Demo Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published