It is the arranging game in which
Posted
by bachchan
on Stack Overflow
See other posts from Stack Overflow
or by bachchan
Published on 2010-04-30T08:33:59Z
Indexed on
2010/04/30
8:37 UTC
Read the original article
Hit count: 142
JavaScript
1 2 3 13
5 4 7
10 6 14 11
9 8 15 12
1.Every time when we refresh the page the numbers in the cells will change but the
These numbers will remain unique n from 1 to 15
2.Whenever we double click the number in the cell which is surrounded the empty cell then it will replace the empty cell with that number n that number cell become empty.
3.If we double click the cell which is not surrounded the empty cell then it will not replace the empty cell.
4.e.g. if we click 8 then it will not move to empty cell But if we click either
13, 7 , or 11 then it will move to empty cell
5.And every time when we click the cell it’s num color will change for a moment
© Stack Overflow or respective owner