Skip to content

themetar/battleship-top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

Version of the classic Battleship game, built with JS+CSS+HTML and React.

Gameplay

Place your ships on the map, then try to destroy your adversary's fleet. Take turns with your oponent, the Computer, to hit as many of one another's ships.

Features

  • Dran-and-drop ship placement
  • AI enemy

Run it locally

Prerequisites: nodejs and npm

  1. Get the code (clone or download)
  2. In the project directory, run npm install in a terminal
  3. Then run npm run start to view in local dev server; or
  4. Run npm run build to compile

Origin

Built as a project assignment for The Odin Project curriculum.