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. ;-)
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
Phong is an incredible ping-pong game with an even more impressive AI (artificial intelligence). Play against the computer, and see if you can win (take it for us, it's possible). We encourage DHTML programmers to check the source to see how Michael managed this impressive DHTML feat...
This is a fun, one player DHTML Phong (Ping Pong) game. Uses cos and sin to move the ball at a specified angle, and the ball's angle can be altered by moving the paddle faster and hitting it. Ball also speeds up the longer the ball is in volley. Script has been tested in IE6+, NS6+, and Opera 7+.
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.