To download the game from chrome webstore click here.
Classic Battleship board game with special island edition and tough AI for your browser.
Engage in strategic warfare as two players arrange their fleets of five ships on custom maps. Take turns guessing and firing upon each other's hidden ships until one emerges victorious by sinking all enemy vessels !
What sets our game apart ?
-
Island Blocks: Place island blocks strategically to challenge your opponents and add an extra layer of excitement.
-
Tough AI: Uses probability density map to reduce average turns to win to 17. Turn on density filter to learn with AI.
-
Light weight: Built with p5.js, game is very minimal in size.
-
Light/Dark theme support
Set sail for victory and download "Battleship Game - Island Edition" today. Command your fleet, rule the waves and emerge as the ultimate naval commander!
Technologies used :- HTML, CSS, Typescript, p5.js
-
Follow the installation instructions on the page.
If you want to compile the extension on your own, follow these steps:
Clone the battleshipBoardGame repository to your local machine:
git clone https://github.com/abdullahjamal1/battleshipBoardGame.git
Navigate to the project directory and install the necessary dependencies:
npm install
Make the necessary modifications or enhancements to the code.
- Build the extension by running:
npm run build
Generate a release zip file to be uploaded to the browser/store:
npm run release
- Go to
chrome://extensions/
. - Enable "Developer mode".
- Click "Load unpacked" and select the project folder.
- graphical and interactive GUI
- supports random island generation on sea using DFS with number of island blocks being customizable
- supports auto-arrange, which arranges all ships randomly on grid
- supports single-player
- supports offline multi-player
- supports game statistics
- AI uses probability-density model to guess shot
- supports density filter option to reveal how the AI works internally