Using Jest to master Test driven development
Visit here to play
- Click on left circle(represent hiddent part of enemy area)
- If there is only water it'll be miss
- Hit will be when there is a ship
- Winner will be who hit others ships first
- More about it here
-
Using Jest
-
OOP principles, SOLID, DRY etc
-
Added webpack 4
-
ES6 modules
-
PC vs Human
Steps to run this app:
-
Clone the repo
-
Run
npm run build
to build and compile the assets -
Run
npm run server
to run app on local machine
Enjoy 😊
Also, feel free to fork, commit and comment :)