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
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
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?
When I add my own text to it, it doesn't work!
Nice script. right click here to download and save as.
http://www.webtech101.com/uploads/snake/snake.html
Very nice, I´d traslated instructions and buttons to spahish and people is getting fun!, of course I´d maintained a link to you!
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.
yeah!
woooooooooo
This game is awesome! :D And the code is also amazing!
sweet.
whare is the script?
i cant get it to work. what should i do
hi
is it free
it is cool
c0000000l yah
OH YEah!!got 107
cool game
hOW DO I GET THIS work?
2374! Bo Yeah!
:)
I got to 101 score!
THIS GAME ROCKS!!!!!
i like this game so much that I put it on me home page!
thinks for makeing the game snake it is sooo flippen cool plus awlsome
Jack White:
On the demo page(linked under download header). Copy everything in that pages head.
where do i find the code to put in the head?
That is a sweet games BUDDY!!!!!
Thanks Phil!
Nifty!
Thanks for the info John. Do you have a suggestion for an alterative key? I was thinking maybe enter.
Opera 9 by default reserves the space bar for navigation
Brady Mulhollem lurvs goatse!!!!11!!1!ONE!