Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gamedolphin committed May 19, 2014
1 parent 686ff65 commit 9d121c4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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!

0 comments on commit 9d121c4

Please sign in to comment.