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 / Challenge question

Author
Message
Zerk
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Orbiting Jupiter
Posted: 21st May 2006 16:31
Seeing how 20 lines of code with each line of code being up to 25 commands is esentially 500 commands, couldnt we just write a program that is 500 lines of code with each line of code being only 1 command?

Its basically the same thing and is MUCH easier to read.

I dont fully understand compressing the code down into 20 lines... unless the "challenge" is actually just the reading and understanding of the code by others.
Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 21st May 2006 21:02
I think the 20-line challenge is more of a challenge for me because instead of running my code through a compressor, I write my code compressed, using thousands of ':'s.

Mysteries Surround You
Zerk
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Orbiting Jupiter
Posted: 21st May 2006 21:04
Oh? I was thinking that would also be a good 20 line challenge program is something to take all of your code and compress it down to 25 statement lines of code. But there already is one? Have a link?
Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 22nd May 2006 05:22 Edited at: 22nd May 2006 05:23
I think there's already one.

http://forum.thegamecreators.com/?m=forum_view&t=58239&b=11

It's done by Ric

Mysteries Surround You
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd May 2006 10:34
I believe we had a challenge to take pre-existing 20-liners and reformat them into something a bit more readable. Might want to check through the Challenge thread stickied near the top of the DBP board.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike

Login to post a reply

Server time is: 2024-11-21 12:11:55
Your offset time is: 2024-11-21 12:11:55