Play even the classic game of Blackjack in JavaScript! (You might also know it as "21") The object of the game is to get the closest to 21. If you get higher than the dealer without going over, you win! Good luck, and don't gamble. ;-)
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!
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
Why not give your visitors the ability to play sudoku directly on your website?
We offer a 100% free sudoku script to webmasters who wants to give this opportunity to their visitors through a sudoku javascript.
It is all very simple! All you have to do is insert a small piece of javascript code to any page you would like to. Just copy the code from the box below and paste to any given page.
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.