Peg | JavaScriptSource


Erik Gos Sep 9, 2000
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!

Necessary Peg Images

blank.gif (transparent)

The JavaScript Source: Games: Peg

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s). The script is yours!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

Hi, I wanted to embed a peg solitaire game on one of my pages and your script looked fine, but the game does not play on your page, so what's the use of trying to make it work on my page if it doesn't on yours?

jeanmi Nov 18, 2015