Coder Social home page Coder Social logo

15puzzle's Introduction

15 Puzzle

The classic 15 puzzle game made with Pixi.js and Typescript. Go to https://github.com/Nazariglez/15puzzle/dist/ and play it, works great on mobile!

If you want other size, just use new Game(N) where N is a number which will be used to create the columns and rows, by default is 4.

How to use

The folder dist has anything you need to play the game. But if you want to compile it just use npm install and npm run dev or npm run build to create the bundle.

//TODO

  • Add a random system which uses a seed to enable a way to repeat the order in which the random numbers are generated. With this I can repeat and debug the player's gameplays.
  • Extend how the board nodes works, adding a way to set new attributes to them to be able to change the gameplay, for example, add a new state to 'freeze' a node, so this node can't be moved by the player. The system must be made thinking on future new attributes.

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.