/BattleShip

An online Battleship game modeled after the original board game, built using JavaScript, Webpack, and Jest. The game enables users to place ships and then play against the computer.

Primary LanguageJavaScript

BattleShip

Implementation of battleship game with javascript. To see how to play the game check here

Demo

Used Stacks

  • Javascript
  • Webpack
  • Jest

Prerequisites

  • NPM
  • WEBPACK
  • GIT

Getting started

To get started with the app, clone the repo

git clone => The SSH key or URL <=

Change to Directory

cd  Battleship

Run

npm install

Run

npm test

You will see the results in your terminal. Then you can open the 'index.htm' file on your browser and enjoy the game.

Authors

👤 Yunus Emre Aybey

👤 Afani Martin

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

  1. Fork it (https://github.com/YemreAybey/BattleShip.git/fork)
  2. Create your working branch (git checkout -b [choose-a-name])
  3. Commit your changes (git commit -am 'what this commit will fix/add/improve')
  4. Push to the branch (git push origin [chosen-name])
  5. Create a new Pull Request

Future Ideas

  • Add drag and drop feature.
  • Use ship images.
  • Create a better ui.

Show your support

Give a ⭐️ if you like this project!