Cross-browser snake is javascript/DHTML clone of the DOS game "Snake". It is object oriented and can be dropped into almost any page easily(see below)

Demo

Download

Feel free to add this game to your site. You can download it here(view the source, or right click->save as)

Usage

To use add all the code in the head of the demo above to your page, then add the following to the body where you want the game to appear

<script type="text/javascript"> var snake = new cbsnake(); </script>

Warning: WARNING: Comments is not properly cleaning input params. in /home/freegam4/public_html/webtech/lib/classes/class.module.inc.php on line 1500

Comments

Posted on July 16, 2008, 9:40 am by An0n

Brady Mulhollem lurvs goatse&#33;&#33;&#33;&#33;11&#33;&#33;1&#33;ONE&#33;

Posted on January 11, 2008, 10:25 pm by kneekoo

I am using Opera 9.50 alpha and when I press the up/down arrow keys the whole page scrolls. The snake moves the correct direction but the page movement is really disturbing. :P Can this be fixed?

Posted on November 11, 2007, 12:03 pm by To Be Unknown

When I add my own text to it, it doesn&#39;t work&#33;

Posted on July 26, 2007, 4:14 pm by Glenn

Nice script. right click here to download and save as.
http://www.webtech101.com/uploads/snake/snake.html

Posted on July 10, 2007, 8:24 pm by Carlos

Very nice, I´d traslated instructions and buttons to spahish and people is getting fun!, of course I´d maintained a link to you!

Posted on June 22, 2007, 2:39 pm by Sgt. Waffles

Not bad. I found this game quite enjoyable but it was cramping my hands for some reason while playing. Nice smooth movements mad this game addicting for several minutes at a time.

Posted on April 22, 2007, 6:25 am by blah

yeah!

Posted on April 22, 2007, 6:24 am by ....

woooooooooo

Posted on April 7, 2007, 6:26 pm by Anonymous

This game is awesome! :D And the code is also amazing!

Posted on March 31, 2007, 4:40 pm by nicole

sweet.

Posted on March 22, 2007, 6:26 pm by some1

whare is the script?

Posted on March 22, 2007, 6:19 pm by ?

i cant get it to work. what should i do

Posted on March 6, 2007, 7:46 am by heather

hi

Posted on February 28, 2007, 3:36 pm by jackjack923

is it free

Posted on February 15, 2007, 9:23 am by rtrt

it is cool

Posted on February 12, 2007, 11:26 am by me

c0000000l yah

Posted on February 8, 2007, 4:42 pm by LiimuJ

OH YEah!!got 107

Posted on February 1, 2007, 9:00 am by hi

cool game

Posted on January 18, 2007, 7:48 am by ?

hOW DO I GET THIS work?

Posted on January 4, 2007, 1:44 pm by Christian

2374! Bo Yeah!

Posted on December 9, 2006, 12:31 am by x

:)

Posted on November 29, 2006, 9:26 am by blob

I got to 101 score!

Posted on November 17, 2006, 10:17 am by Wubbles

THIS GAME ROCKS!!!!!

i like this game so much that I put it on me home page!

Posted on November 9, 2006, 5:57 pm by lauran mckinney

thinks for makeing the game snake it is sooo flippen cool plus awlsome

Posted on October 20, 2006, 1:42 pm by Brady Mulhollem

Jack White:
On the demo page(linked under download header). Copy everything in that pages head.

Posted on October 19, 2006, 6:36 pm by Jack White III

where do i find the code to put in the head?

Posted on October 19, 2006, 6:19 am by budddy

That is a sweet games BUDDY!!!!!

Posted on October 10, 2006, 7:07 pm by Brady Mulhollem

Thanks Phil!

Posted on October 10, 2006, 5:14 pm by Phil

Nifty!

Posted on October 2, 2006, 12:36 pm by Brady Mulhollem

Thanks for the info John. Do you have a suggestion for an alterative key? I was thinking maybe enter.

Posted on October 1, 2006, 11:11 pm by jscheuer1

Opera 9 by default reserves the space bar for navigation

Add A Comment

What is the difference of eight and two?
Your Name(*):
Email:
Comment(*):