In this game, it's best to attack.
Don't worry too much about throwing the ball off the table.
As long as you accurately hit the ball with the paddle,
it will get back on the table.
The power of JavaScript knows no bounds! This script harnesses the psychic aspects of the language to determine your compatibility -romance wise- with another person, based on each other's names. Give it a try, and become a believer!
Fixed a bug in ai_play(): index3 was being assigned incorrect values causing the omission of many possible moves by the computer. I also discovered having ai_play() try to win and prevent the opponent from doing the same was not simple. The function now only tries to prevent the opponent from winning. Also, it now only looks 2 moves into the future, looking too far ahead was causing it to fail in its goal
Chuck your superstitions to the side, and put your lottery dreams in this script instead! It allows you to specify how many numbers to randomly generate, and for the numbers themselves, the lower and upperbound (ie: between 1 and 49). Such versatility means you can use the script for any lottery system, or simply as a unique random numbers generator.
Real life earthquakes may induce sheer terror, but browser ones are a whole different story. Using DHTML, we've created an earthquake script that shakes the browser, simulating a quake effect. Use it to grab your visitor's attention, if nothing else. Here are some highlights of this amusing script:
The chance that an earthquake will occur is configurable; 100% means every time a visitor enters the page, while 50%, only half of the time.
The magnitude of the quake differs randomly during each shake. You could experience an unnoticeable 1-in-rector-scale nudge, or a 10-in-rector monster!
Right after the shake, a dynamic message will appear on screen for a few seconds informing the visitor what just happened.
The quake script is cross-browser functional- there's no escaping!
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.