Git Product home page Git Product logo

n-puzzle's Introduction

CircleCI Build status

This is an implementation of the classic 15-puzzle, generelized for N size , built with React, Redux and Bootstrap.

Prerequisites

Node.js (version>=12)

Installation

npm install

Local Deployment

npm start 

runs webpack dev server , available on port 3000

Packaging

npm run build

packaged files will be under ./dist

Testing

Unit testing:

npm test

Unit testing with coverage report:

npm run test:coverage

Test including packaging:

npm run test:all

E2E selenium tests (production):

Local server, production mode - build, run on a local server (port 5000) and run e2e test against it:

npm build

npm run start:prod &

npm run e2e

local server, dev mode - run a local dev server (port 3000) and run e2e tests in dev mode against it:

npm start &

NPUZZLE_E2E_MODE=dev npm run e2e

run against a remote server - set the e2e URL:

NPUZZLE_E2E_URL=http://<host>:<port> npm run e2e

License

This project is licensed under the MIT License - see the LICENSE file for details

n-puzzle's People

Contributors

guyo avatar

Stargazers

 avatar

n-puzzle's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.