SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2005
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript Synchronization

    I'm playing with a small sliding tile puzzle, and I'm having a lot of problems implementing the shuffle algorithm. The implementation is far from polished, but I can't seem to figure out what is going wrong. The page can be found at:
    http://www.owlnet.rice.edu/~gmalecha...ding_tile.html

    If you click the Shuffle link, you will immediately see what the problem is. The direct link to the JavaScript can be found at:

    http://www.owlnet.rice.edu/~gmalecha...ingTileGame.js

    Many thanks in advance.
    ~evlich

  2. #2
    SitePoint Member
    Join Date
    Aug 2005
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Problem solved. I was making a mistake about the way that I was referencing the delay variable, so it was still delaying the position changes.

    Tell me if you have any feedback for the page.
    ~evlich


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •