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 / pipe things

Author
Message
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 9th Feb 2005 08:16
Here\'s my very first 20 Liner:
Rem Project: 20 Liner
Rem Created: 2/8/2005 5:26:59 PM

Rem ***** Main Source File *****
sync on : sync rate 1000 : hide mouse
locY = 300 : locx = 200 : direction = 1
randomize timer()
do

rem Randomize direction
change = rnd(5) : if change = 1 then direction = rnd(3) + 1
If direction = 1 then dec locy
If direction = 2 then inc locX
If direction = 3 then inc locy
If direction = 4 then dec locX

Rem Press the Up Key to give it some color!
if upkey() = 1 then dot locx,locy,RGB(rnd(255),rnd(255),rnd(255))
if upkey() = 0 then dot locx,locy

rem If it goes beyond the edges of the screen the reset
if locX < 0 then locx = 200 : cls
if locy < 0 then locy = 200 : cls
if locX > 640 then locx = 300 : cls
if locy > 480 then locy = 300 : cls

sync : loop
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 9th Feb 2005 08:17
oops... im new to the forum... guess i boogered up the code snippet
The Nerd
15
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 10th Feb 2005 00:52
LOL this is very cool!
nice work

And welcome to the forum


The Nerd


looking for Royalty free 3D objects?
then Check PanzerGames at this link : http://www.freewebs.com/panzergames
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 10th Feb 2005 01:02
Thx an Thx... I highly doubt it will be a winner though...

If I Asked You If You Would Give Me A Million Dollars, Would The Answer To That Question Be The Same As The Answer To This Question??
PiratSS
16
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 10th Feb 2005 06:06
20 line compo is dead There haven't been a winner for ~20 newsletters
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 10th Feb 2005 08:30
Who give a umm... a uhh... Who gives a care... it's still fun

If I Asked You If You Would Give Me A Million Dollars, Would The Answer To That Question Be The Same As The Answer To This Question??
PiratSS
16
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 10th Feb 2005 11:02
I thought you did when you said: "I highly doubt it will be a winner though... "
Freddy 007
14
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 11th Feb 2005 05:05
yes yes...
But noce work Suicidal Sledder

Thumbs up


Check out PanzerGames at: http://www.freewebs.com/panzergames
æ ø å
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 11th Feb 2005 10:58
thanks dood

"See?!?! Port IS left and starboard is RIGHT!!" - Hobbes
Mr Pointless
14
Years of Service
User Offline
Joined: 17th Oct 2004
Location: Stuck in the UK
Posted: 14th Feb 2005 03:41
Nice!

Might not be a winner, but would make a great screensaver, no offence.

"My gods, Detritus, that's not a crossbow, that's a national emergency." - Sam Vimes from "The Fifth Elephant".
Suicidal Sledder
15
Years of Service
User Offline
Joined: 17th Aug 2004
Location: Tikrit, Iraq
Posted: 4th Mar 2005 12:28
none taken

"See?!?! Port IS left and starboard is RIGHT!!" - Hobbes

Login to post a reply

Server time is: 2019-08-24 07:57:48
Your offset time is: 2019-08-24 07:57:48