Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / Simple snake game (dbc/dbpro)

Author
Message
BigDan256
21
Years of Service
User Offline
Joined: 29th Oct 2003
Location: NSW, Australia
Posted: 12th Aug 2004 17:52
Just felt like writing a quick snake game to see if I could store the positions of the snake in an array without shifting the array every turn. Turns out it was quite easy.

It works in both DBC1.13 and DBProDemo5.5, I recommend DBPro though
The box command seems to work different in both DB versions, so the appearance changes, and DBPro seems to be more responsive in the keyboard.

20 Line Version:


Longer Version (With more descriptive variables):
Zero #43
20
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 20th Nov 2004 22:50
pritty cool

Zero #43
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 20th Nov 2004 22:57
This snake game is cool
Im not that good at programming yet so i would be very happy if you could make a tutorial on how to make you very first snake game.
Please make a tutorial like that PLEASE '




Waggames

wanna join Waggames?
then visit our site at : http://www.freewebs.com/waggames
my old forum name was: The Nerd
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 21st Nov 2004 04:39
That is great for 20 lines.
Slight problem if you go off the screen.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm

Login to post a reply

Server time is: 2024-11-22 05:09:44
Your offset time is: 2024-11-22 05:09:44