Skip to content

lucafisc/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Battleship 👋 🚢

Version

drawing

Play battleship against the computer!

This is a solution to the Battleship Project of the Odin Project.

Table of contents

Overview

The challenge

Users should be able to:

  • Take turns playing the game by attacking the enemy Gameboard
  • Play again in case they hit a ship
  • See a gameover message when all ships are sunk

Screenshot

drawing

Features

  • Randomly place ships

drawing

  • Keep track of sunk ships

drawing

Process

Built with

  • Javascript with Publisher/Subscriber Pattern
  • Semantic HTML5 markup
  • CSS custom properties

Features to be implemented

  • Mobile version
  • Move/Rotate ships
  • Computer AI
  • Multiplayer

Author

👤 Luca Fischer

Install

npm install

Usage

npm run start

Run tests

npm run test

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published