Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 994 Bytes

README.md

File metadata and controls

53 lines (36 loc) · 994 Bytes

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