Skip to content

This project is based on a web-based game called Tic-Tac-Toe.

Notifications You must be signed in to change notification settings

shshamim63/Battleship_Game

Repository files navigation

Battleship

standard-readme compliant battleship

This project is creted to brush up the core concepts of Callbacks, Object Oriented Programming, Factory Functions, Module Pattern, Single Responsibility, Tightly Coupled Objects and Test Driven Development using jest framework.

TODO: Battleship (also Battleships or Sea Battle1) is a strategy type guessing game. This game has been designed to play against a dummy device. Where each turn marks a grid of enemys board to destroy their placed ship. Who destroys all the ships in enemy's fleet is the winner.

Table of Contents

Background

  1. JavaScript
  2. HTML CSS
  3. Bootstrap
  4. Jest

Install

  1. Run npm install on the terminal. It will install all the dependencies required for this project.

Deployment

Usage

  1. Clone the repository: git@github.com:shshamim63/Battleship_Game.git
  2. Enter into the directory: cd Battleship_Game
  3. Run npm start to start the development server. It will automatically open the page in your default browser.
  4. Run npm run build, which creates a build directory with a production build of this game.
  5. Run npm run test to execute the test scripts.

Maintainers

👤 Shakhawat Hossain

Potential Future Feature

  • Improve ships appearence and animation when hit/miss
  • Introduce different levels
    • Easy
    • Medium
    • Hard
  • Adds more functionality to ships while user places ships.

Contributing

🤝 PRs accepted.

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

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2019 Shakhawat Hossain

About

This project is based on a web-based game called Tic-Tac-Toe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published