This project implements the concepts of Callbacks, Object Oriented Programming, Factory Functions, Module Pattern, Single Responsibility, and Test Driven Development.
To handle the complexity of synchronizing the views with data changes, I created an Observable object on which can be attached handlers. The Observable class
is located in ./src/utils.js
.
To simplify the view codes, a support to JSX syntax was added.
- Javascript
- JSX
- HTML5
- CSS3
To run the project:
- Clone the repository: https://github.com/FabienNeibaf/Battleship
- Run
npm install
. It will install all the dependencies required by the project - Run
npm start
to start the development server. It will automatically open the page in your default browser.
Feel free to contribute if you want to make it better.