User Name: Password:
New User Registration
Moderator: rod03801 
 Ludo

Discuss about the Ludo game or find new opponents.

Ludo rules

A game by any other name....

I Love Ludo Hall of Fame...How many passes have you had in one game?


List of discussion boards
Mode: Everyone can post
Search in posts:  

21. April 2008, 04:34:36
playBunny 
Subject: Re: ai ludo
mctrivia: Lol. I'm sorry to say that it actually runs slower! You have a delay loop of 500 millisecs which will add, on average, a quarter of a second to the wait.

reloadPage() and its timer loop are redundant. They check to see whether moveDone() has received a response but they aren't needed because if moveDone() receives a response it knows about it. But, because nothing happens until reloadPage() finds out that moveDone()'s been lucky, there's the extra timeOut() delay.

Date and time
Friends online
Favourite boards
Fellowships
Tip of the day
Copyright © 2002 - 2024 Filip Rachunek, all rights reserved.
Back to the top