Archived Repository The code of this repository was written during a Marmelab agile integration. The associated blog post illustrates the efforts of the new hiree, who had to implement a board game in several languages and platforms as part of his initial learning. This code is not intended to be used in production, and is not maintained. |
A react app to play the 15 puzzle game.
See the related article on the Marmelab blog
Make sure to have nodejs
, npm
and android
installed.
Print all available commands
make
Build the docker
make install
Run the 15-puzzle game on port 3000
make run
Note: change the default port by using the PORT
env variable.
PORT=3001 make run
You can use the start
alias aswell.
make start
make dev
Launch the unit and integration tests
make test
Note: you can update the snapshots by using the UPDATE
env variable.
UPDATE=true make test
Launch eslint
make lint
Launch autofix
make format