These scripts are all JavaScript games. Play
the classic games Mastermind or Tic-Tac-Toe or any one of the
dozen other games. If you plan to use these scripts, please remember
that these scripts have some of the longest and most complicated
source codes of any scripts in our archives. (Only modify these
scripts if you are sure you know what you are doing!) Every entry
now also has a Source Code option so you may see the EXACT JavaScript
code used to create the game.
Script Title: Ants
Contributor: Mike Hall
([email protected])
Contributor URL: http://members.aol.com/MHall75819
Details: 10.57 KB * Uploaded July 8 1999
Script Description: As you move your mouse around the page
a swarming army of ants scattered about the window will chase
after it. (No wisecracks about buggy code now...) 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. A great effect!
 [
Get Source
Code ]
Script Title: Ask
Mustafa
Contributor: Hoop Hooper
([email protected])
Contributor URL: http://www.angelfire.com/pa3/muddas
Details: 2.32 KB * Uploaded July 17 2000
Script Description: 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. Fun!
 [
Get
Source Code ]
Script Title: Background
Fader
Details: 1.81 KB * Uploaded July 11 1997
Script Description: Use JavaScript to fade the background
from red to black, and back.
 [
Get
Source Code ]
Script Title: Battleship
Contributor: Jason
Hotchkiss ([email protected])
Contributor URL: http://www.members.home.com/jasonhotchkiss
Details: 9.06 KB * Uploaded December 15 1999
Script Description: Enter into a naval battle against your
computer. But watch out, your adversary is not stupid!
 [
Get
Source Code ]
Script Title: Blackjack
Contributor: Mike
McGrath ([email protected])
Details: 4.57 KB * Uploaded March 3 1999
Script Description: 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.
;-)
 [
Get
Source Code ]
Script Title: Box
Puzzle
Contributor: John
Chacko ([email protected])
Contributor URL: http://holmes221b.50megs.com
Details: 5.44 KB * Uploaded November 14 2000
Script Description: (Internet Explorer Only) Move the squares
using the arrow keys to get them in the correct order. Fun!
 [
Get
Source Code ]
Script Title: Break
Out
Contributor: Nick Young
([email protected])
Contributor URL: http://www.angelfire.com/biz6/ywing9787
Details: 12.64 KB * Uploaded April 19 2000
Script Description: This is a JavaScript version of Break
Out. Keep the ball bouncing and try to clear the entire field
of blocks. Cool!
 [
Get Source
Code ]
Script Title: Bridge
Contributor: Randy
Bennett ([email protected])
Contributor URL: http://home.thezone.net/~rbennett/utility/javahead.html
Details: 3.44 KB * Uploaded March 31 1998
Script Description: 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. Very neat!
 [
Get Source
Code ]
Script Title: Buzzwords
Details: 4.99 KB * Uploaded July 11 1997
Script Description: JavaScript takes a word you provide
and puts it in a complex sentence.
 [
Get
Source Code ]
Script Title: Catch
A Spy
Contributor: Kien
Caoxuan ([email protected])
Contributor URL: http://www.caoxuan.com
Details: 9.65 KB * Uploaded August 1 2000
Script Description: You are an Interpol officer who needs
to track down the movement of the Green Spy. He moves around the
world in a predictable pattern. Learn his moves. Once you're in
the same airport with the Green Spy, you win! Aim for the shortest
time. Good luck!
 [
Get
Source Code ]
Script Title: CheckBoxes
Details: 1.63 KB * Uploaded July 15 1997
Script Description: Just how many boxes can you check in
20 seconds? Play this interesting JavaScript game and find out.
 [
Get
Source Code ]
Script Title: Concentration
Contributor: Brian Gosselin
([email protected])
Contributor URL: http://www.bgaudiodr.iwarp.com
Details: 3.63 KB * Uploaded June 19 2000
Script Description: My version of the classic memory game
concentration. Uncover all the blocks by successfully matching
the image pairs. Click the Timer button below to start a new game
whenever you want.
 [
Get
Source Code ]
Script Title: Connect
4
Contributor: Stuart
Berg ([email protected])
Details: 17.21 KB * Uploaded May 1 2000
Script Description: This is a JavaScript version of 2 player
Connect 4. Players take turns dropping pieces into the columns
of the board. The computer tracks wins and draws automatically
individually a game or match set. Awesome!
 [
Get
Source Code ]
Script Title: Countdown
to ???
Details: 2.21 KB * Uploaded July 11 1997
Script Description: A JavaScript stopwatch that counts
down from a predetermined time then alerts the user.
 [
Get
Source Code ]
Script Title: Countup
to ???
Details: 2.14 KB * Uploaded July 11 1997
Script Description: A JavaScript stopwatch that does the
opposite - counts up then alerts.
 [
Get
Source Code ]
Script Title: Crab
Race
Contributor: Mike
McGrath ([email protected])
Contributor URL: http://website.lineone.net/~mike_mcgrath
Details: 10.80 KB * Uploaded September 9 1999
Script Description: Places your bets on your favorite colored
crab in a virtual crab race. Each crab has different odds and
has different payouts. Good luck!
 [
Get
Source Code ]
Script Title: CurseBot
Details: 11.70 KB * Uploaded July 15 1997
Script Description: JavaScript uses the dynamic random()
function to write random curses. Users may collect as many curse
phrases as they want, or can endure. The CurseBot keeps 'em coming!
 [
Get Source
Code ]
Script Title: Decoder
Ring
Contributor: Colin
Russell ([email protected])
Contributor URL: http://www.geocities.com/niloc12.geo
Details: 4.59 KB * Uploaded March 15 2000
Script Description: Playing spy games are always fun --
but why not act the part? This decoder ring script allows you
to send 'spy' messages back and forth by encoding your message
with a key offset value. Then, just send the message, key code,
and a link to the decoder ring script to your friend to let them
read it. Understandably, it's simple encryption, but it works
good enough for us! Cool!
 [
Get
Source Code ]
Script Title: Dice
Roller
Contributor:Michael
Hensley ([email protected])
Contributor URL: http://geocities.com/TimesSquare/Castle/6274
Details: 4.44 KB * Uploaded May 29 1998
Script Description: A great script! Check it out!
 [
Get
Source Code ]
Script Title: Dots
Contributor: Mike
McGrath ([email protected])
Details: 34.20 KB * Uploaded August 20 1999
Script Description: Make more boxes than the computer to
win this interactive JavaScript game. Neat!
 [
Get Source
Code ]
Script Title: Face
Memory
Contributor: Kien
Caoxuan ([email protected])
Contributor URL: http://www.caoxuan.com
Details: 7.83 KB * Uploaded September 18 2000
Script Description: See how well you can do in trying to
remember a random face. Addictive!
 [
Get
Source Code ]
Script Title: Falcon
Fighter
Details: 30.00 KB * Uploaded September 16 1999
Script Description: An extremely amazing JavaScript air
fighter game that looks just like an arcade game! It is absolutely
amazing! You have to give it a try to understand. You can move
the fighter plane with the J, K, L, and I keys and shoot at the
enemy planes with Z, and X keys. You only get one life but if
you make it far through a level, you play against big enemy bosses.
Wow, color me impressed.
 [
Get
Source Code ]
Script Title: Find
The Spy
Details: 5.81 KB * Uploaded July 15 1997
Script Description: A spy is hidden in this field. Start
choosing locations and see if you can find the spy!
 [
Get Source Code
]
Script Title: Flipping
Messages
Details: 2.62 KB * Uploaded July 11 1997
Script Description: When given a text box, JavaScript can
flash messages in it. Similar to a scroll, but no scrolling is
involved - otherwise it would be a scroll, not a game :)
 [
Get
Source Code ]
Script Title: Fortune
Teller
Contributor: Ronnie T. Moore, Editor
Contributor URL: JavaScript
Source Code 2002
Details: 1.27 KB * Uploaded June 12 2000
Script Description: Just ask a yes or no question and the
JavaScript fortune teller will reply. Neat!
 [
Get
Source Code ]
Script Title: Guess-A-Number
Details: 2.16 KB * Uploaded July 15 1997
Script Description: Play the JavaScript version of Guess-A-Number.
First, select a number range and then try to guess the number
the computer has chosen.
 [
Get
Source Code ]
Script Title: Guess
1 - 100
Details: 2.55 KB * Uploaded July 15 1997
Script Description: Another JavaScript guess-a-number game.
However, this one automatically has a set range of 1 - 100.
 [
Get
Source Code ]
Script Title: Hangman
Details: 6.31 KB * Uploaded May 29 1998
Script Description: 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! Very neat! (The topic
is Presidents of The United States!)
 [
Get
Source Code ]
Script Title: Hanoi
Solver
Contributor: Amin
Wong ([email protected])
Details: 3.51 KB * Uploaded July 21 2000
Script Description: 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. Clever!
 [
Get
Source Code ]
Script Title: Hit
The Dot
Contributor:Josh Birk ([email protected])
Contributor URL: http://www.mcs.kent.edu/~jbirk
Details: 8.18 KB * Uploaded June 26 1998
Script Description: How many dots do you think you can
hit in 30 seconds? Play this interesting JavaScript game and find
out!
 [
Get
Source Code ]
Script Title: Insight
Generator
Details: 4.16 KB * Uploaded July 15 1997
Script Description: 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.
 [
Get
Source Code ]
Script Title: Joggle
Contributor: Serban
Oprescu ([email protected])
Details: 9.73 KB * Uploaded March 30 2000
Script Description: An online version of Boggle, where
the objective is to find words in a 5x5 letter grid. Joggle takes
advantage of ASP and SQL (rather than JavaScript) to score words
using a 100,000 word dictionary. Great fun!
 [
Get Source
Code ]
Script Title: Lights
Out
Contributor: Andrew Gacek
([email protected])
Details: 5.86 KB * Uploaded August 26 1999
Script Description: 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. Addictive!
 [
Get
Source Code ]
Script Title: Love
Test
Details: 2.65 KB * Uploaded March 2 1999
Script Description: Here's a neat little script to figure
the "love compatibility" between two people. Just enter their
names and hit calculate! We are not responsible for any broken
relationships resulting from this script. ;-)
 [
Get
Source Code ]
Script Title: Lottery
Numbers
Details: 1.91 KB * Uploaded August 30 1999
Script Description: 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!
Try it!
 [
Get
Source Code ]
Script Title: Mad
Cows
Details: 6.63 KB * Uploaded July 15 1997
Script Description: Play a very humorous game involving
three talking cows. Check it out - it's very cool.
 [
Get
Source Code ]
Script Title: Magic
8 Ball
Details: 2.07 KB * Uploaded August 4 1997
Script Description: Ever wanted to play with a JavaScript
Magic 8 Ball? Well, here is a fully functional, and totally random,
JavaScript Magic 8 Ball. Enjoy.
 [
Get Source
Code ]
Script Title: Magic
Squares
Details: 3.34 KB * Uploaded May 1 1998
Script Description: Here is a fun JavaScript game. Try
to put the squares back in order. The '0' repesents the empty
spot, and click a square next to the 0 to make them trade places!
Get the squares back in order and you win!
 [
Get
Source Code ]
Script Title: Math
Quiz
Contributor: Anja Henseler
Details: 3.61 KB * Uploaded June 21 1999
Script Description: 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!
 [
Get
Source Code ]
Script Title: Maze
Contributor: Jason
Hotchkiss ([email protected])
Details: 10.58 KB * Uploaded December 6 1999
Script Description: 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.
 [
Get Source
Code ]
Script Title: Mind
Reader
Contributor: Darren Cummings
Contributor URL: www.spen500.fsnet.co.uk
Details: 3.87 KB * Uploaded November 13 2000
Script Description: (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. Amazing!
 [
Get
Source Code ]
Script Title: Minesweeper
Contributor: Peter Occil
([email protected])
Contributor URL: http://www.geocities.com/poccil
Details: 15.73 KB * Uploaded May 16 2000
Script Description: Don't have Windows Minesweeper game
on your computer at work or school? Think again! Play this JavaScript-powered
version which acts just like the Windows version and even supports
custom-sized grids. And use Control+Click to flag a mine. Sweet!
 [
Get
Source Code ]
Script Title: Mouse
Bomb
Contributor: Diana Ugo
([email protected])
Contributor URL: http://utenti.tripod.it/falcons
Details: 2.27 KB * Uploaded September 12 2000
Script Description: A bomb follows your mouse cursor around
the screen and explodes when it reaches your cursor. Cool.
 [
Get
Source Code ]
Script Title: Mouse
Invaders
Contributor: Juan
Ignacio Garcia ([email protected])
Contributor URL: http://ignac.homepage.com
Details: 6.61 KB * Uploaded September 13 2000
Script Description: Three UFOs chase your mouse cursor
around the screen. If they get close enough, they even fire at
it. Hilarious!
 [
Get
Source Code ]
Script Title: Mr.
Potato Head
Contributor:Michael
Tartaglia ([email protected])
Contributor URL: http://www.geocities.com/SiliconValley/Horizon/5235
Details: 2.49 KB * Uploaded August 24 1998
Script Description: 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!
 [
Get
Source Code ]
Script Title: Peg
Contributor:Erik
Gos ([email protected])
Details: 29.10 KB * Uploaded August 18 1998
Script Description: An interesting little JavaScript game
where you try to leave only one peg by jumping one over another
and removing the 'jumped' peg. Sound easy? See how well you can
do!
 [
Get Source Code
]
Script Title: Picture
Memory
Contributor: Kien
Caoxuan ([email protected])
Contributor URL: http://www.caoxuan.com
Details: 4.62 KB * Uploaded August 10 2000
Script Description: Take your time and study the underwater
picture very carefully. When you are ready, start the memory test.
The game will ask you where you saw the pieces. See if you can
get all 15 right! Not as easy as it sounds!
 [
Get
Source Code ]
Script Title: Picture
Puzzle
Contributor: Davey
Erwin ([email protected])
Contributor URL: http://daverwin.homepage.com
Details: 11.50 KB * Uploaded May 8 2000
Script Description: The classic mix-up puzzle that uses
any image you want. Your image is 'cut' into puzzle pieces and
left to be scrambled then solved by your visitors. (This script
uses Dan Steinman's Dynapi code.)
 [
Get
Source Code ]
Script Title: Pokemon
Contributor: Paul
([email protected])
Contributor URL: http://www.angelfire.com/ak3/MewHiddenLair
Details: 9.71 KB * Uploaded August 19 1999
Script Description: An interactive version of Pokemon which
allows you to raise your very own Pikachu! Try it!
 [
Get
Source Code ]
Script Title: Pokemon
Invaders
Contributor: Sam Dodge
([email protected])
Contributor URL: http://raichusscastle.hypermart.net
Details: 5.64 KB * Uploaded May 26 2000
Script Description: Try your luck as a pokemon protecting
the world against an invading enemy squad.
 [
Get
Source Code ]
Script Title: Random
Number
Details: 2.75 KB * Uploaded July 11 1997
Script Description: The computer will thinks of a random
number between 0 and 49. Just guess it! Higher and lower hints
included!
 [
Get
Source Code ]
Script Title: Reaction
- Button
Details: 2.87 KB * Uploaded July 15 1997
Script Description: (Netscape only) Just how fast can you
react? Play this little JavaScript wonder and find out.
 [
Get
Source Code ]
Script Title: Reaction
- Background
Details: 2.91 KB * Uploaded July 15 1997
Script Description: (Netscape only) Just how fast can you
react? Play this little JavaScript wonder and find out. In this
example, you react when the background changes color instead of
dealing with a button.
 [
Get
Source Code ]
Script Title: Rock,
Paper, Scissors
Contributor: Ronnie T. Moore, Editor
Contributor URL: JavaScript
Source Code 2002
Details: 2.66 KB * Uploaded April 25 2000
Script Description: 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. Fun!
 [
Get
Source Code ]
Script Title: Rocket
Blaster
Contributor: Brian Gosselin
([email protected])
Contributor URL: http://www.bgaudiodr.iwarp.com
Details: 9.26 KB * Uploaded August 9 2000
Script Description: Use your mouse to aim and shoot at
rockets that fly across the screen. It may require some practice
timing the shots to compensate for the distances. Interestingly,
the game never ends -- just play as long as you want. Sweet!
 [
Get
Source Code ]
Script Title: Shift
It
Contributor: Dion
Contributor URL: http://www.iinet.net.au/~biab/
Details: 1.46 KB * Uploaded December 28 1998
Script Description: Play this addictive little JavaScript
game - try to put all the pieces in alphabetical order, 'A' through
'O'. Awesome!
 [
Get
Source Code ]
Script Title: Simon
Says
Contributor: Brian Gosselin
([email protected])
Contributor URL: http://www.bgaudiodr.iwarp.com
Details: 4.21 KB * Uploaded January 6 2000
Script Description: Recall your childhood with a JavaScript
version of Simon Says. Click the buttons in the same order as
Simon (the computer) does to advance to the next level. Each level
gets increasingly difficult. See how far you can go.
 [
Get
Source Code ]
Script Title: Snake
Contributor: Clayton
Carlson ([email protected])
Contributor URL: http://www.awebmaker.com
Details: 4.90 KB * Uploaded August 22 2000
Script Description: (Internet Explorer Only) A one player
game where the point is to direct the snake to the apples. For
each apple you eat, you earn points and the snake grows longer.
Don't run into your own tail or the walls and see how many points
you can earn!
 [
Get Source
Code ]
Script Title: Text
Animation
Contributor URL:
http://www.crosswinds.net/~llizard
Details: 3.03 KB * Uploaded October 12 1999
Script Description: Check out this JavaScript-powered text
animation artwork. A cheerleader runs through her entire routine.
Wow.
 [
Get
Source Code ]
Script Title: Tic-Tac-Toe
Contributor: Maximilian
Stocker ([email protected])
Details: 9.05 KB * Uploaded July 28 1999
Script Description: Try your luck at an interactive game
of good old tic-tac-toe!! Automatic scoring and alternating "first
moves" are built in. Fun!
 [
Get
Source Code ]
Script Title: Time
Challenge
Contributor: Randy
Bennett ([email protected])
Contributor URL: http://home.thezone.net/~rbennett/sitemap.html
Details: 4.33 KB * Uploaded April 27 2000
Script Description: Start the game timer and try to click
the button in exactly 10 seconds. It is not easy as you think!
 [
Get
Source Code ]
Script Title: Towers
of Hanoi
Contributor: Adam
Stock ([email protected])
Details: 8.91 KB * Uploaded November 5 1999
Script Description: See how you do in this wonderful game
of skill and logic. Try to move all the disks onto another pole.
Thing is, you can only move one disk at a time and you must follow
size order (a bigger disk can't go on a smaller disk). Good luck!
 [
Get Source
Code ]
Script Title: Typing
Test
Contributor: Michael
Tartaglia ([email protected])
Contributor URL: http://www.geocities.com/SiliconValley/Horizon/5235
Details: 3.33 KB * Uploaded April 16 1998
Script Description: I really think this is neat - JavaScript
will actually give you a typing test and at then tell you the
results in words per minute! Very neat!
 [
Get
Source Code ]
Script Title: Where
Born?
Details: 4.95 KB * Uploaded July 11 1997
Script Description: Go ahead - see if JavaScript can tell
you where you were born.
 [
Get
Source Code ]
Script Title: Who?
What? Where?
Details: 2.16 KB * Uploaded July 11 1997
Script Description: Just see if you can pass this test.
 [
Get
Source Code ]
|