Play with friend.
Mobile friendly.
Randomize the fleet.
Play against computer.
-
This project is part of The Odin Project Self-learning Javascript Curriculum.
-
The main purpose of the project is to practice the basics of unit testing using Jest.
-
During building this project, I have gained more practical knowledge about OOP and some design patterns by implementing publisher/subscriber pattern to control the game while manipulating the DOM.
-
Some of the challenges, aside from learning Jest, included DOM manipulation, adding player versus player game mode, and making the game mobile-friendly.
- Interactive browser-based game which can also be played on small-screen devices.
- Play with your friend on your mobile device.
- Play against computer.
- Place your fleet as you wish or place them randomly.
- HTML5
- CSS
- Vanilla JavaScript
- Jest
- Webpack