|
|
Click on a heading below to select a JavaScript. To
view the source code for the JavaScript Right Click
the mouse button over the JavaScript window and then
select "View Source" from the pop-up window
Copy and paste the code. If any graphics are used in
the script. Right Click the mouse button over each graphic
and then select "Save Picture As" from the
pop-up menu. All the graphics should be put in the same
directory as the JavaScript. To go back to the Index
just close the JavaScript window.
|
|
| Ants |
As you move your mouse around the page a swarming army of
ants scattered about the window will chase after it. If an
ant actually reaches the mouse cursor, we reposition it randomly
around the edge of the window, and its chase starts again.
The ant images are preloaded with a great image loading bar
script, then the script begins.
|
| Ask
Mustafa |
We've captured the spy Mustafa from the Austin Powers movie.
Mustafa will refuse to answer any question you ask. Except,
he hates hearing the same question three times in a row. Ask
him a question three times in a row and he will answer you.
|
| Battleship |
Enter into a naval battle against your computer. But watch
out, your adversary is not stupid!
|
| Blackjack |
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.
|
| Box
Puzzle |
(Internet Explorer Only) Move the squares using the arrow
keys to get them in the correct order.
|
| Bridge |
Here is an interesting use of JavaScript, deal a hand of
Bridge! Each time you load the page JavaScript will deal a
new hand to four players.
|
| Buzzwords |
JavaScript takes a word you provide and puts it in a complex
sentence.
|
| Checkboxes |
Just how many boxes can you check in 20 seconds? Play this
interesting JavaScript game and find out.
|
| Curse |
JavaScript uses the dynamic random() function to write random
curses. Users may collect as many curse phrases as they want,
or can endure.
|
| Dice
Roller |
Next time you play a game involving dice, give this JavaScript
Dice Roller a try! Just tell it how many dice to use, how
many sides are on each die, and it'll give you the total for
the number of dice you rolled!
|
| Face
Memory |
See how well you can do in trying to remember a random face.
|
| Fortune
Teller |
Just ask a yes or no question and the JavaScript fortune
teller will reply.
|
| Guess
Random |
Play the JavaScript version of Guess-A-Number. First, select
a number range and then try to guess the number the computer
has chosen.
|
| Guess
1 100 |
Another JavaScript guess-a-number game. However, this one
automatically has a set range of 1 - 100.
|
| Hangman |
I know you've all played Hangman before.... You know, you
try to guess a word by choosing letters? Well, how about a
game of Hangman, in JavaScript! (The topic is Presidents of
The United States!)
|
| Hanoi
Solver |
Solves the Towers of Hanoi game in the shortest number of
moves, demo included. The delay between moves and the number
of rings can be adjusted by the user.
|
| Hit
The Dot |
How many dots do you think you can hit in 30 seconds? Play
this interesting JavaScript game and find out!
|
| Insight
Generator |
If you need a profound quote or insight for an upcoming
speech, interview, cocktail party or whatever, try the Insight
Generator. If you don't like the first generated profundity,
click again for a whole new one. Just keep going until you
find a quote that suits whatever the occasion requires.
|
| Lights
Out |
Try to eliminate all the boxes to win. When you check a
box, all the squares around it (one above, one below, and
one to each side) are unselected. You can play in five different
levels of difficulty.
|
| Lottery
Numbers |
This JavaScript will help you pick your lottery numbers.
Pick how many numbers you want (pick 3 ?) and then give it
a number range and out comes your lottery numbers!
|
| Love
Test |
Here's a neat little script to figure the "love compatibility"
between two people. Just enter their names and hit calculate!
|
| Math
Quiz |
Flash cards were pretty good math practice. But, they were
always the same math problems, over and over. Lo and behold,
JavaScript to the rescue! Just select the difficulty level
then click the type of problem you want to practice with,
(add, subtract, multiply, and divide) and JavaScript will
give you a problem. And, a built-in score checker grades you
along the way! Great practice for elementary-aged students
just learning their math skills, or for anyone wishing to
practice a bit!
|
| Maze |
Navigate around a 3D JavaScript maze in search of the exit
in the fewest moves possible. The maze is complex, but you
can cheat by taking a peak at the map. Tested in IE5 and Netscape.
|
| Mind
Reader |
(Internet Explorer Only) Think of a number between 1 and
63 and answer YES or NO to the questions. The Mind Reader
will tell you the number.
|
| Mouse
Invaders |
Three UFOs chase your mouse cursor around the screen. If
they get close enough, they even fire at it.
|
| Pokemon |
An interactive version of Pokemon which allows you to raise
your very own Pikachu!
|
| Pokemon
Invaders |
Try your luck as a pokemon protecting the world against
an invading enemy squad.
|
| Potato
Head |
Play a good old game of Mr. Potato Head - powered by JavaScript,
of course! Click buttons to change the hair, eyes, nose, and
mouth! And, click the "View It" button to see Mr.
Potato Head!
|
| Question |
Just see if you can pass this test.
|
| Random
Number |
The computer will thinks of a random number between 0 and
49. Just guess it! Higher and lower hints included!
|
| Rock
Paper Scissors |
Play Rock, Paper, Scissors against your computer. Make your
selection and the computer will randomly choose as well and
then the game will be scored.
|
| Same
Game |
Match the adjacent spheres of the same color to clear the
board. The more you clear at once, the higher your score.
|
| Shift
It |
Play this addictive little JavaScript game - try to put
all the pieces in alphabetical order, "A" through
"O"
|
| Spy |
A spy is hidden in this field. Start choosing locations
and see if you can find the spy!
|
| Text
Animation |
Check out this JavaScript-powered text animation artwork.
A cheerleader runs through her entire routine.
|
| Tictac
3D |
Play this 3-D version of tic-tac-toe. Play against a friend
or the computer. Get 4 in a row to win!
|
| Typing
Test |
JavaScript will actually give you a typing test and at then
tell you the results in words per minute!
|