Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamedolphin/sliding_puzzle
A simple sliding blocks puzzle game.
https://github.com/gamedolphin/sliding_puzzle
Last synced: 3 months ago
JSON representation
A simple sliding blocks puzzle game.
- Host: GitHub
- URL: https://github.com/gamedolphin/sliding_puzzle
- Owner: gamedolphin
- Created: 2014-05-19T15:03:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-19T17:17:23.000Z (over 10 years ago)
- Last Synced: 2024-08-02T06:17:57.827Z (6 months ago)
- Language: JavaScript
- Homepage: https://www.sandeepnambiar.com/sliding_puzzle/
- Size: 931 KB
- Stars: 33
- Watchers: 3
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-open-source-games - Sliding Puzzle - Sliding blocks puzzle game. (Browser-Based / Puzzle)
README
sliding_puzzle
==============A simple sliding blocks puzzle game. You can also create your own puzzle and then click on "Get Url" to get
a link which will recreate the puzzle whenever someone clicks on it.Here's a tiny commentary about the coding style. I have, in a long time, deviated from using separate screens
and provided you with a game in its first screen. I was trying to emulate the actual hardware toy of
the same game which is just there and does not have a Main Menu. One of the consequences of this approach
is a few lines (maybe more than a few) of repeated code and inefficient algorithms.
If you go through the code of game.js file, you'll see a lot of places where you may go "WHY!?" and in certain cases,
I've genuinely forgotten why, even though the I made the whole game in less than a day.
So please forgive the crass coding and try and enjoy the game!