----------------------------------- Martin Sat Apr 12, 2003 10:55 pm Programming Challenge ----------------------------------- I challenge anyone to make the most impressive program in 200 lines or less. The rules are as follows. a) No Images (bitmaps, jpegs etc) b) No included, text or binary files c) No Sys. commands Standard spacing the following, or anything similar counts as 201 lines: loop put "Hello World" end loop Otherwise, anything goes. Please post the source. Any submissions that I (or any of the mods) like will get 50 bits. The winner gets another 50 (End date undecided). Best of luck. P.S. Anything already posted on compsci.ca is not allowed, even if you are the original poster. ----------------------------------- Tony Sat Apr 12, 2003 10:57 pm ----------------------------------- martin, please clarify No pictures is it only image files or graphics at all? Also by 200 lines or less I assume standart spacing, not placing your whole program onto the snigle line. ----------------------------------- Asok Sat Apr 12, 2003 11:29 pm ----------------------------------- OMG WHOLE FRIGGIN SITE ON ONE LINETEXT ON MY ASS KICKING SITE ALL IN CAPS AND ALL ON ONE LINE! TAKE THAT ALL YOU PEOPLE WITH YOUR MORE THAN ONE LINE CODE! IT IS NOT NEARLY AS EFFICIENT LOOKING AS SHOVING AS MUCH CRAP AS POSSIBLE IN ONE UNFORMATTED LINE! Well... it looked more impressive in notepad... oh well.. Special Thanks goes out to tony for giving me insparation to do this ;) ----------------------------------- Martin Sat Apr 12, 2003 11:39 pm ----------------------------------- Tony, I have no idea what you're talking about: *innocent* Also, it can be in any language (french, english, c++, turing...you name it) ----------------------------------- Asok Sat Apr 12, 2003 11:41 pm ----------------------------------- well it doesn't make any sence for someone to do it in c++ when they are worried about line consumption ie. hWnd alone takes a good 150 lines or so.I would reccomend looser line restrictions on c++ applicants. ----------------------------------- Martin Sun Apr 13, 2003 12:24 am ----------------------------------- Fine, 300 lines if you use c++, no DirectX or OpenGL ----------------------------------- Martin Sun Apr 13, 2003 12:24 am ----------------------------------- Oh, and if you use c++, you can include standard header files ;) ----------------------------------- Blade Sun Apr 13, 2003 12:44 am ----------------------------------- i think tony means we which cant we use (or both) Pic.FileNew and/or Draw... as in Draw.Line and such ----------------------------------- Catalyst Sun Apr 13, 2003 1:29 am ----------------------------------- can i use something i have posted as exe but not source? ----------------------------------- Asok Sun Apr 13, 2003 10:34 am ----------------------------------- I think that would be fine catalyst. ----------------------------------- Martin Tue Apr 15, 2003 9:30 pm ----------------------------------- Nobody? ----------------------------------- Catalyst Tue Apr 15, 2003 9:46 pm ----------------------------------- ill post up my per pixel code soon... ----------------------------------- Tony Tue Apr 15, 2003 10:09 pm ----------------------------------- lol, might as well give bits to catalyst then :P maybe we should give a bonus prize if the winner is someone other then catalyst :wink: Lol, its kind of hard to compeat against him. ----------------------------------- Delta Wed Apr 16, 2003 8:58 am Create a New One ----------------------------------- I think Catalyst should create a new program so we can see more of his wonderful skills :) (Delta shows signs of jealousy) And then that way we've got more time to create ours... anyone in agreement with me...? Anyone? :( ----------------------------------- Martin Mon Apr 21, 2003 12:12 am ----------------------------------- Nah, I could out program Catalyst any day ;) ----------------------------------- Tony Mon Apr 21, 2003 12:16 am ----------------------------------- well if its under 200 lines, then I suppose Catalyst would not be able to fit in his 3D engine which opens up an oportunity for Martin and myself :P I just dont have time or enough motivation at the moment ----------------------------------- Catalyst Mon Apr 21, 2003 1:12 am ----------------------------------- i can fit my engine in 200 lines, im not going to tho ----------------------------------- Homer_simpson Mon Apr 21, 2003 9:47 pm ----------------------------------- So when's the due date? ----------------------------------- Homer_simpson Mon Apr 21, 2003 9:48 pm ----------------------------------- and why da hell my avatar doesn't show :x =Þ ----------------------------------- Tony Mon Apr 21, 2003 10:23 pm ----------------------------------- due date? well lets see a first submition (i suppose it can be exe, but source code would have to be checked before declearing a winner) we'll see from there... I think it should be before school ends or something... ----------------------------------- Martin Tue Apr 22, 2003 8:35 pm ----------------------------------- Just incase nobody enters, I'm gonna win by default put "What is your name?" var name : string get name :* put "Your name is ", name, "!!!" ----------------------------------- Tony Tue Apr 22, 2003 9:46 pm ----------------------------------- and the competition is on! My sujestion is to mark all your submitions with a under 200 lines of code if applicable from now untill beginning of June. Also post a link in here to your under 200 line program (even if its exe, number of lines will be varified in June) now so that Martin will not get a default win, here's my submition: var name:string put "enter your name" get name if name = "Tony" then put "You're cool" else put "Your name isn't Tony :(" end if ----------------------------------- DarkHelmet Thu Apr 24, 2003 5:39 pm ----------------------------------- Hey, here's something. It's minigolf. Unfortunately, there is only one hole, and it isn't perfect, b/c i had to trim it under two hundred lines. ----------------------------------- Dan Thu Apr 24, 2003 5:55 pm ----------------------------------- that's prity cool for only 200 lines. looks like your in the lead for now :wink: ----------------------------------- Tony Thu Apr 24, 2003 6:03 pm ----------------------------------- thats preaty sweet... and defenetly the lead so far :D I'd love to see the full version uploaded as exe in submitions ----------------------------------- DarkHelmet Thu Apr 24, 2003 7:59 pm ----------------------------------- I'll post it as soon as I write it. :lol: ----------------------------------- AsianSensation Thu May 08, 2003 4:08 pm Christmas Carol ----------------------------------- I'm game, I thought I was going to use this code when Christmas comes around, but I guess now is as good as any other time. I think the indenting is going to be a problem, but if i don't leave them all in one line, then there will be breaks when turing executes the play procedure. But it is well under 200 lines. ----------------------------------- Tony Thu May 08, 2003 4:23 pm ----------------------------------- AHAHA :o Awesome. I think someone was looking for notes to song like that before. cool, although I dont like X-mas songs... ----------------------------------- bugzpodder Thu May 22, 2003 4:37 pm ----------------------------------- I dont think i've submitted this one. and unfortunately i lost the source. but if i remember correctly, with all the comments i think its around 250-300. lines. but i am not sure. anywayz, download it by selecting chess at http://www.geocities.com/bugz_podder/ its all pixels, no gif graphics ----------------------------------- Grey_Wolf Sat Jun 07, 2003 2:24 pm dog fight game ----------------------------------- i don't think this contest is still going on but regardless i'll enter. this is dogfight game its a little glitchy and loops forever because i had to cut it down to 200 lines . the controls are the arrow keys and space bar. ----------------------------------- Andy Sat Jun 07, 2003 2:28 pm ----------------------------------- rrriiiittteee, darkness and marijuwana is illegal in canada ----------------------------------- Homer_simpson Sat Jun 07, 2003 2:35 pm ----------------------------------- take a look at my avatar... ----------------------------------- Martin Sat Jun 14, 2003 8:46 pm ----------------------------------- Grey_Wolf is the winner. Congratulations, you get 100 bits! ----------------------------------- Grey_Wolf Sun Jun 15, 2003 10:01 pm ----------------------------------- Yes , congradulations me. ----------------------------------- AsianSensation Mon Jun 16, 2003 6:52 pm ----------------------------------- What, and I worked so hard on those music pieces.... :cry: oh well, congratulations Grey_Wolf ----------------------------------- Andy Mon Jun 16, 2003 7:24 pm ----------------------------------- what music pieces ----------------------------------- nate Mon Jun 16, 2003 9:57 pm ----------------------------------- earlier in the post!!! *Slaps dodge in the face* ----------------------------------- Andy Tue Jun 17, 2003 10:32 am ----------------------------------- :evil: *steels asok's flame thrower and burns nate in to crisp :twisted: ----------------------------------- SilverSprite Wed Jun 18, 2003 1:02 pm ----------------------------------- rrriiiittteee, darkness and marijuwana is illegal in canada Marijuana is no longer illegal in Ontario so long as it is carried in quantities less than 30 grams i think it is.. ----------------------------------- JayLo Wed Jun 18, 2003 1:08 pm ----------------------------------- Same sex marriages too... nasty. :evil: ----------------------------------- Andy Wed Jun 18, 2003 2:59 pm ----------------------------------- and they got married in a church, wtf is wrong with this word ----------------------------------- BlAcK TuRtLe Wed Jun 18, 2003 3:28 pm ----------------------------------- same sex marriages aren;t all that bad. after all there will be alot more lesbians around :D ----------------------------------- JayLo Wed Jun 18, 2003 3:48 pm ----------------------------------- ... whatever turns you on, black turtle. ----------------------------------- Andy Wed Jun 18, 2003 3:51 pm ----------------------------------- well considering that they are lesbians, i dun think they'll go after u ----------------------------------- JayLo Wed Jun 18, 2003 3:59 pm ----------------------------------- lol that's right. only in his fantasies then... ----------------------------------- Grey_Wolf Mon Jun 23, 2003 9:05 am ----------------------------------- marijuana is still illegal in ontario. firstly that law has yet to be past. secondly the law just states that if you have less than 15 grams you won't have a criminal record. It'll get taken away and you will get a fine. decriminilized not legalized ----------------------------------- void Mon Jun 23, 2003 9:12 am ----------------------------------- if your a minor and u have under 30g on u...u get a call home, and the MJ is taken away, if ur major, u get a fine