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.
- JavaScript
- HTML CSS
- Bootstrap
- Jest
- Run
npm install
on the terminal. It will install all the dependencies required for this project.
- Clone the repository:
git@github.com:shshamim63/Battleship_Game.git
- Enter into the directory:
cd Battleship_Game
- Run
npm start
to start the development server. It will automatically open the page in your default browser. - Run
npm run build
, which creates a build directory with a production build of this game. - Run
npm run test
to execute the test scripts.
👤 Shakhawat Hossain
- Github: @shshamim63
- LinkedIn: @shakhawathossainshamim
- Twitter: @Shshamim090
- Improve ships appearence and animation when hit/miss
- Introduce different levels
- Easy
- Medium
- Hard
- Adds more functionality to ships while user places ships.
🤝 PRs accepted.
- Fork it (https://github.com/shshamim63/Battleship_Game)
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add')
- Push to the branch (git push origin feature/[chosen-name])
- Create a new Pull Request
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2019 Shakhawat Hossain