As a normal user the evaluation of the results takes place only locally. The super user has the opportunity to save the results on the server. Such a super-user computer will run throughout the CONTESTS and muster the Web Workers against each other.
How do you program a Web Worker? Web Workers interact with the main program via messages. To make a move the Web Worker must send one of the keywords 'up', 'down', 'right' or 'left' to the main program. If the move is possible, true is returned, otherwise false. In order to prevent a permanent firing the main program sends an ID together with the success message. The Web Worker must return this ID with his next move. Without sending a proper ID the Web Worker will be disqualified.
At the end (bottom or right side) a simple Web Worker example: He goes mostly straight. Was his last move possible, he continues in the same direction with a probability of (around) 95%. Was his last move not possible, he randomly picks a new direction.
Now you just need to tune it a little ;-)
The distribution of the starting point on the playing field is equally distributed.
The CONTEST is designed for the current browser (Firefox 29, Chrome 35, IE 11). The Top 30 will be played on the current Firefox.
A game lasts exactly 10,000 moves. (The moves of both Web Workers are counted together).
In the case of equal points the earlier upload time decides.