Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

A react app to play the 15 puzzle game in browser

License

Notifications You must be signed in to change notification settings

marmelab/15-puzzle-isomorphic

Repository files navigation

onboarding 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.

15-puzzle-isomorphic

A react app to play the 15 puzzle game.

See the related article on the Marmelab blog

Requirements

Make sure to have nodejs, npm and android installed.

Help

Print all available commands

make

Build

Build the docker

make install

Run the game

Start

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

Start in livereload mode

make dev

Contributing

Test

Launch the unit and integration tests

make test

Note: you can update the snapshots by using the UPDATE env variable.

UPDATE=true make test

Linter

Launch eslint

make lint

Launch autofix

make format

About

A react app to play the 15 puzzle game in browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published