Giter VIP home page Giter VIP logo

imshubhamsingh / 15-puzzle Goto Github PK

View Code? Open in Web Editor NEW
199.0 8.0 36.0 10.53 MB

The 15-puzzle is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing, built in react

Home Page: https://15puzzle.netlify.com

License: MIT License

HTML 6.73% JavaScript 88.03% CSS 5.24%
15-puzzle react parcel react-dom styled-components css scss jsx hooks

15-puzzle's Introduction

15Puzzle

15 Puzzle

My first Game using React.js

This is a classic 15-puzzle. To play you first scramble the tiles and then try to put them back in order. To move a tile you simply click on it

15Puzzle

Gameplay

The app uses React.js alpha API likes hooks etc..

Development

Run app

  1. Clone repo [email protected]:imshubhamsingh/15-puzzle.git
  2. cd 15-puzzle
  3. npm install && npm start

or

View a live demo of this project on netlify

License License

Copyright (c) 2018 Shubham Singh, This software is licensed under the MIT License.

15-puzzle's People

Contributors

imshubhamsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

15-puzzle's Issues

Instructions for implementation

Hello
If possible, please put the requirements and tasks to be done to run the code in more detail
Many attempts to run this code have been fruitless and errors are constantly encountered
Does it have any special requirements?

Maximum update depth exceeded.

I am facing this issue after npm install & npm start. can you please help me out to solve below error. Thanks in advance!

react-dom.development.js:23093 Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
at checkForNestedUpdates (react-dom.development.js:23093)
at scheduleUpdateOnFiber (react-dom.development.js:21164)
at Object.enqueueSetState (react-dom.development.js:12639)
at Router.Component.setState (react.development.js:471)
at react-router.js:63
at listener (history.js:155)
at history.js:173
at Array.forEach ()
at Object.notifyListeners (history.js:172)
at setState (history.js:288)

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.