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 / My version of snake for DB

Author
Message
Joe Cooning
21
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 4th Jun 2003 00:39
This is my version of snake.(called WURMS)

rem Scource code for Wurms, brought to you by Joe Cooning Produx!
maxBody=35 : Dim snake#(maxBody,2) : bodySegments=2 : score=0
Sync On : Hide mouse : Center Text 320,240,"Joe Cooning Produx presents WURM!" : Center text 320,260,"Loading..." : Sync :Sleep 3000

For i=2 to maxBody : Make object sphere i,2 : Color object i,RGB(0,255,0) : Hide object i : Next i

Make object sphere 1,2 : Color object 1,RGB(0,255,0) : snake#(1,1)=0 : snake#(1,2)=0 osition object 1,snake#(1,1),0,snake#(1,2)

Make object sphere 100,2 : Position object 100,rnd(40)-20,0,rnd(40)-20 : Color object 100,RGB(255,0,0)

Make object plain 101,62,62 : Position object 101,0,0,0 : Color object 101,RGB(0,0,0) : Xrotate object 101,90

Position camera 0,75,0 : Xrotate camera 90

While Object position x(1)-30 and Object position z(1)>-30 and Object position z(1)=35 : huh$="You WIN!!!" : else : huh$="You lose!!!" : endif : Do : Center text 320,240,"Game Over! Your score was "+str$(score)+". "+huh$+" Bye!" : if scancode()>0 and scancode()
"Everyone has a photographic memory . . . some just don't have film."
Joe Cooning
21
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 4th Jun 2003 01:15
I'm sorry if the format is messed up. the scorce link is at the bottom. that shouldn't be screwed up. :-s enjoy the game!

"Everyone has a photographic memory . . . some just don't have film."
pugmartin
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: United Kingdom
Posted: 4th Jun 2003 04:36
I got a photographic memory


Just aint developed yet

UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 4th Jun 2003 16:38
u need to add in sync rate. its way to fast in pro.

Life is a terminal disease.
You never survive it.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 4th Jun 2003 21:25
it is very fast but good

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Joe Cooning
21
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 5th Jun 2003 22:34
Well the speed changes with computer. Yeah, I should've added sync rate. By the way, despite what that first title says, it doesn't take that long to load. there was origanaly a splash screen there, but do to the fact it was over 200k, it had to go. it actuall takes it about half a second to load, I just put that sleep message in there.

"Everyone has a photographic memory . . . some just don't have film."
Joe Cooning
21
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 5th Jun 2003 22:44
Here's a slightly modified version for your satisfaction. Sorry if it hasn't been tested, I just add the sync rate to make it better (I hope).

"Everyone has a photographic memory . . . some just don't have film."
Tommeh
20
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 15th Jun 2003 16:47
Well This game is much better than most other snake games which are way over 20 lines Well done

Login to post a reply

Server time is: 2024-04-24 16:33:12
Your offset time is: 2024-04-24 16:33:12