Game Scripts - Page 2 | JavaScriptSource

Game Scripts - Page 2

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.

  • Chess Player v1.0
    Scott Clark Jan 13, 2010

    This 2 player JavaScript chess will only allow you to make legal moves.

  • Blackjack
    Scott Clark Dec 30, 2009

    Play even the classic game of Blackjack in JavaScript!

  • Guess-A-Number
    Scott Clark Dec 30, 2009

    Play the JavaScript version of Guess-A-Number.

  • Blackjack
    Scott Clark Dec 23, 2009

    Play even the classic game of Blackjack in JavaScript!

  • CurseBot
    Scott Clark Dec 16, 2009

    JavaScrpt uses the dynamic random() function to write random curses.

  • Critter Thwacking
    Scott Clark Dec 11, 2009

    A Critter Thwacking game. Whack 25 critters and try and improve your time.

  • Love Test
    Scott Clark Nov 18, 2009

    "Here's a neat little script to figure the ""love compatibility"" between two people."

  • Blackjack
    Scott Clark Oct 21, 2009

    Play even the classic game of Blackjack in JavaScript!

  • Country Guessing Game
    Scott Clark Oct 14, 2009

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

  • Love Test
    Scott Clark Sep 30, 2009

    "Here's a neat little script to figure the ""love compatibility"" between two people."

  • Floating Hearts
    Scott Clark Sep 16, 2009

    Celebrate Valentine's day on your web site.

  • Math Flash Cards
    Scott Clark Sep 16, 2009

    Multiple choice Math Flash card game

  • Lights Out
    Scott Clark Sep 9, 2009

    Try to eliminate all the boxes to win.

  • Find The Spy
    Scott Clark Aug 27, 2009

    Find the hidden spy!

  • Fortune Cookie Redux
    William Clark Aug 19, 2009

    Tell your fortune and lucky numbers!

  • Galaxy Defender II
    Scott Clark Jul 10, 2009

    Defend the galaxy from alien entities.

  • Hit The Dot
    Scott Clark Apr 11, 2009

    Hit as many dots as you can!

  • Hanoi Solver
    Scott Clark Feb 9, 2009

    Solve the Towers of Hanoi Game.

  • Tower of Hanoi
    Glenn Vergara Jun 20, 2008

    The objective of the game is to move a stack of disks from the left-most pole to the right-most in the least amount of moves, the catch being a smaller disk must always be stacked on top of a larger, and never the other way around. (updated)

  • JsTetris
    Cezary Tomczak Jun 18, 2008

    A Tetris-clone game. Does not require images. Keeps tracks of high game scores, using a cookie.

  • Tower of Hanoi - (updated)
    Glenn Vergara Jan 7, 2008

    The objective of the game is to move a stack of disks from the left-most pole to the right-most in the least amount of moves, the catch being a smaller disk must always be stacked on top of a larger, and never the other way around.

  • SG Memory in JavaScript
    Mark Okun Dec 26, 2007

    "A game of concentration and memory! The object of the game is to remember and repeat a sequence of events as long as possible."

  • Ultra AI
    john Nov 7, 2007

    This is a interactive robot based all on JavaScript.

  • Tic Tac Toe
    Chris Englmeier Aug 27, 2007

    This script created by Chris Englmeier is a simple Tic Tac Toe game.

  • Lights Out Game
    Troy Kinsella May 2, 2007

    "Blast from the Past: A simple and stupid game called lights out. You can customize the number of buttons to change the difficulty. "