Skip to content

MclPio/battleship

Repository files navigation

battleship

Table of Contents

  1. About
  2. Features
  3. Getting Started

About

I built this project to learn a bit about unit testing using jest. Additionally DSA graph implementation, keeping code organized, and imperative programming using JS. I used CSS frameworks like Tailwind with DaisyUI to style a few parts and picket the colors myself.

Screenshot from 2024-11-25 00-13-50

Features

  • Player vs Computer
  • Random ship placements
  • Competent computer bot that hunts once it lands a hit
  • Ship health tracker

Getting Started

Prerequisites

  • A modern web browser that supports JavaScript.
  • Basic understanding of HTML, CSS, and JavaScript.
  • Node.js and npm.

Installation

  1. Clone the repository:
    git clone git@github.com:MclPio/battleship.git
    
  2. Navigate to the project directory:
    cd battleship
    
  3. Install dependencies:
    npm install
    
  4. Build dist
    npm build
    
  5. (Optional) start the development server:
    npm start
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published