/odin-battleships

Odin-battleships is a web based game based on battleships game the app supports Player vs CPU and Player vs Player. Made as a sample over component testing.

Primary LanguageJavaScript

README

Hi i am the author SotoArmando if this project and this is my battleships approach over battleships from odin project https://www.theodinproject.com/courses/javascript/lessons/battleship.

Live version: https://sotoarmando.github.io/odin-battleships/dist/index.html

Run this project

if you using windows then get inside src folder using the explorer and open it manually.

Features

  • Reset Game: Lets you start over again any time you like to.
  • Play Game: Start the game.
  • Winner Notify: Once you lost/striked 26 points you or the CPU will be a winner.
  • Ship Down Log: Once you got done an enemy ship it will display up in the player board.

Testing

  • npm run test

This project features jest for all testing.