Game Scripts | JavaScriptSource

Game Scripts

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. General questions about games scripts should be posted to The JavaScript Forum.

  • Bounce Game by Scott Connell
    Scott Connell Oct 1, 2012

    BounceGame is a game built entirely with JavaScript controlled CSS, and does not make use of any of the newer JS frameworks.

  • Warcraft2 by Feng.Chun
    Feng.Chun Apr 15, 2012

    A warcraft game demo was written with JSGF(JavaScript Game Framework).

  • Falling by Tim Withers
    Tim Withers Apr 9, 2012

    A typing game where you have to type correct words to make the ball drop to the line below.

  • 7block by David Pan
    David Pan Apr 8, 2012

    7block is a simple but deceptively hard game in which the goal is to stack moving blocks to the top.

  • Boxpuzzle - Cross browser by John Chacko
    John Chacko Mar 21, 2012

    newer version of my boxpuzzle http://www.javascriptsource.com/games/box-puzzle.html

  • Face Memory
    Scott Clark Dec 5, 2010

    See how well you can do in trying to remember a random face. Addictive!

  • Concentration
    Scott Clark Oct 3, 2010

    My version of the classic memory game concentration.

  • Discover The Word Game
    Scott Clark Oct 2, 2010

    Discover The Word Game plays much like Wheel of Fortune.

  • Ball Drop
    Scott Clark Jul 4, 2010

    Click anywhere on the page and a ball will drop.

  • Discover The Word Game
    Scott Clark Jul 4, 2010

    Discover The Word Game plays much like Wheel of Fortune.

  • Country Guessing
    Scott Clark Jun 1, 2010

    The goal of this JavaScript game is to guess a country name.

  • Falcon Fighter
    Scott Clark May 5, 2010

    An extremely amazing JavaScript air fighter game that looks just like an arcade game!

  • Hit The Dot
    Scott Clark Apr 21, 2010

    How many dots do you think you can hit in 30 seconds?

  • Basketball Scoreboard
    Scott Clark Apr 14, 2010

    A JavaScript version of the scoreboard in a basketball game.

  • Eight Queens Problem
    Scott Clark Mar 31, 2010

    This is a JavaScript that involves the movement of the Queen in Chess.

  • Hangman: Countries & Cities
    Scott Clark Mar 24, 2010

    It's the old fashion Hangman game, but this time with a new look and additional features.

  • Alien Spacecraft
    Scott Clark Mar 17, 2010

    An alien spacecraft hovers around the background of the page using JavaScript and DHTML.

  • Magic Squares
    Scott Clark Mar 3, 2010

    Here is a fun JavaScript game. Get the squares back in order and you win!

  • Country Guessing
    Scott Clark Mar 2, 2010

    The goal of this JavaScript game is to guess a country name.

  • Country Guessing Game
    Scott Clark Feb 24, 2010

    The goal of this JavaScript game is to guess a country name.

  • Cryptic Scroller
    Scott Clark Feb 24, 2010

    This script displays a cryptic series of numbers in the status bar at the bottom of the browser and decrypts it one letter a time.

  • Jargon Bingo
    Scott Clark Feb 24, 2010

    This is a script that lets you play online bingo

  • Jargon Bingo
    Scott Clark Feb 17, 2010

    This is a script that lets you play online bingo.

  • Jargon Bingo
    Scott Clark Jan 27, 2010

    This is a script that lets you play online bingo.

  • Guess 1 - 100
    Scott Clark Jan 20, 2010

    Another JavaScript guess-a-number game.