marmelab / 15-puzzle-isomorphic

A react app to play the 15 puzzle game in browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 97.0%Language:CSS 1.9%Language:Makefile 1.1%