Skip to content

This is a take on the post 2002 version of the classic game Battleship

Notifications You must be signed in to change notification settings

Aureatus/Battleship

Repository files navigation

Battleship

This is a take on the post 2002 version of the classic game Battleship, created for the odin project's battleship project, adhering to their specification.

Table of Contents

Features

  • A semi-intelligent AI opponent to play against.
    • Hits adjacent tiles if the last one was successful.
  • Drag and drop placement of ships.
  • Responsive design.
  • Unit tests for logical modules gameboard, player and ship.

Tech Stack

HTML, CSS, JavaScript, Jest, Webpack

Run Locally

Clone the project

  git clone https://github.com/Aureatus/Battleship.git

Go to the project directory

  cd Battleship

Install dependencies

  npm install

create a production build

  npm run build

then open dist/index.html

Or run the dev environment

  npm run serve

About

This is a take on the post 2002 version of the classic game Battleship

Resources

Stars

Watchers

Forks