Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krishealty/puzzle
Classic and responsive 15 tile puzzle game entirely with HTML, CSS and JAVASCRIPT. Make your own puzzle with the built-in editor.
https://github.com/krishealty/puzzle
css css-animations game game-development html html-css html-css-javascript html-game html-games html-projects html-template html5 html5-game javascript javascript-applications javascript-game web-development website
Last synced: 9 days ago
JSON representation
Classic and responsive 15 tile puzzle game entirely with HTML, CSS and JAVASCRIPT. Make your own puzzle with the built-in editor.
- Host: GitHub
- URL: https://github.com/krishealty/puzzle
- Owner: krishealty
- License: mit
- Created: 2024-05-20T08:03:09.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T02:54:55.000Z (8 months ago)
- Last Synced: 2025-01-04T20:45:33.235Z (12 days ago)
- Topics: css, css-animations, game, game-development, html, html-css, html-css-javascript, html-game, html-games, html-projects, html-template, html5, html5-game, javascript, javascript-applications, javascript-game, web-development, website
- Language: HTML
- Homepage: https://krishealty.github.io/puzzle/
- Size: 5.4 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# [Classic Puzzle Maker](https://krishealty.github.io/puzzle/example.html)
A simple implementation of the classic mini-game Fifteen Sliding Puzzle, using HTML DOM document elements and without using Canvas or third party libraries.
When mixing a picture, random replacement of slots is not used, only natural mixing by moving a free slot, thanks to this, an error is excluded, due to which the puzzle may not be assembled.
By solving the puzzle, you can move several blocks in a column and a row in one move. You can set controls for the GamePad and keyboard.
The engine code is very flexible for modifications, has many settings and can be integrated into any web page or web app.
Thanks [krystal carpintieri](https://www.krystalcarpintieri.com/home/puzzle-animated-gifs) for all the gifs.
> Editor: https://krishealty.github.io/puzzle/
> Demo: https://krishealty.github.io/puzzle/example.html
# Editor and Demo
You can upload your image, set parameters and generate an html file with the game and your image. You can use the resulting file on your website or directly on your device, or you can modify it yourself, change the parameters, or write your own script that will run after the game is finished.
Try online editor: [Puzzle](https://krishealty.github.io/puzzle/)
Try demo: [Demo](https://krishealty.github.io/puzzle/example.html)
Editor features
- Automatic style adaptation based on image dimensions
- Proportional division of an image into blocks
- Building / exporting HTML file with the game
- Moving multiple blocks in one move
- Drag and Drop upload image[![Simple 15 puzzle game maker for HTML ](https://user-images.githubusercontent.com/13263198/137487556-f4ccb712-7d6f-4178-baee-9473e0352db5.gif)](https://krishealty.github.io/puzzle/)