This is just another version of the popular game. You place your ships on a board and then play against the computer. In this project there are some tests written with Jest.
Technologies: HTML, CSS, JavaScript, webpack, Jest
Github: https://github.com/prospero-apps/battleship
Live: https://prospero-apps.github.io/battleship
Instructions:
- Enter your name.
- Place your ships one by one as asked. Use the horizontal and vertical buttons before placement.
- Shoot by clicking on the squares. If you hit, a red cross sign appears on that square. Otherwise, there's a black blurry star. In the map below you can watch your fleet all the time.