User Name
Password

Go Back   Planetarion Forums > Non Planetarion Discussions > Programming and Discussion

Reply
Thread Tools Display Modes
Unread 16 Mar 2003, 22:30   #1
Andrew
Registered User
 
Join Date: Feb 2002
Posts: 5
Andrew is an unknown quantity at this point
99 bottles of beer challenge

http://www.noodleroni.com/beercontest.php
Basically, write a program to produce the entire lyrics to the song "99 bottle Of beer On The Wall" in the most compact, obsfucated, and original way.
__________________
Quote:
Originally posted by Puck (here)
Nope, I haven't done anything wrong yet. Unless they can prove it of course.
Andrew is offline   Reply With Quote
Unread 16 Mar 2003, 23:11   #2
queball
Ball
 
queball's Avatar
 
Join Date: Oct 2001
Posts: 4,410
queball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so little
No-one will beat this.
queball is offline   Reply With Quote
Unread 16 Mar 2003, 23:34   #3
Cyp
∞+♪˛
 
Join Date: Nov 2000
Location: :uo!te]oŻ|
Posts: 428
Cyp is an unknown quantity at this point
Programming language: HQ9+

Code:
9
__________________
Structural Integrity for Creator - since he'll probably make PA turn 3D.
Wikipedia forum
Note to self - Don't write Chinese letters with bold and italics...
<!--Last incarnation: Nov 2000-->

Last edited by Cyp; 16 Mar 2003 at 23:39.
Cyp is offline   Reply With Quote
Unread 16 Mar 2003, 23:36   #4
Gayle29uk
Bitch
 
Join Date: Jun 2002
Location: North Yorkshire
Posts: 3,848
Gayle29uk is just really niceGayle29uk is just really niceGayle29uk is just really niceGayle29uk is just really nice
Quote:
Originally posted by queball
No-one will beat this.
Modify the text to ascii codes. Lengthens the bottle and makes it less compact but much more obfuscated
__________________
ACHTUNG!!!
Das machine is nicht fur gefingerpoken und mittengrabben. Ist easy
schnappen der springenwerk, blowenfusen und corkenpoppen mit
spitzensparken. Ist nicht fur gewerken by das dummkopfen. Das
rubbernecken sightseeren keepen hands in das pockets. Relaxen und vatch
das blinkenlights!!!
Gayle29uk is offline   Reply With Quote
Unread 16 Mar 2003, 23:40   #5
Andrew
Registered User
 
Join Date: Feb 2002
Posts: 5
Andrew is an unknown quantity at this point
heh
Neither of those can be entered though, thanks to the third rule:
Quote:
Your submission must not have been available anywhere on any public channel prior to 1 May 2003.
I've got a truly mad entry in mind - you probably won't even have heard of the language I'm gonna use, and that's all i'm saying for now
__________________
Quote:
Originally posted by Puck (here)
Nope, I haven't done anything wrong yet. Unless they can prove it of course.
Andrew is offline   Reply With Quote
Unread 17 Mar 2003, 01:29   #6
queball
Ball
 
queball's Avatar
 
Join Date: Oct 2001
Posts: 4,410
queball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so little
Quote:
Originally posted by Cyp
Programming language: HQ9+

Code:
9
Code:
$ wget -q http://www.cliff.biffle.org/esoterica/hq9plus.ml http://www.noodleroni.com/beerlyrics.txt
$ echo 9 > 9
$ ocaml hq9plus.ml 9 > 99bottle-cyp
$ diff -q 99bottle-cyp beerlyrics.txt
Files 99bottle-cyp and beerlyrics.txt differ
queball is offline   Reply With Quote
Unread 17 Mar 2003, 06:30   #7
MOS
Registered User
 
Join Date: Jan 2003
Location: Australia
Posts: 30
MOS is an unknown quantity at this point
Use the language

J

its the worst there is. Im not going to do it though
__________________
If I knew what I was doing then it wouldn't be called research.
MOS is offline   Reply With Quote
Unread 17 Mar 2003, 06:53   #8
queball
Ball
 
queball's Avatar
 
Join Date: Oct 2001
Posts: 4,410
queball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so littlequeball contributes so much and asks for so little
That 99 bottles of beer site has a J version, and a K version, though strangely not APL. (They only like ASCII-based languages?)

(I don't find J hard to read, oh well.)
queball is offline   Reply With Quote
Unread 17 Mar 2003, 15:10   #9
Starbucks
It was a Stupid Dream
 
Starbucks's Avatar
 
Join Date: Jun 2002
Location: Winchester, UK
Posts: 2,077
Starbucks is on a distinguished road
Delphi

Code:
program b33r;
var
   bottles:integer;

begin
     for bottles:= 99 downto 1 do
         writeln(bottles,' bottles of beer on the wall,',bottles,
         ' bottles of beer, you take one down, pass it around ',
         bottles-1,' bottles of beer on the wall');
end.
Starbucks is offline   Reply With Quote
Unread 17 Mar 2003, 21:25   #10
Jester
Pedantic hypocrite
 
Jester's Avatar
 
Join Date: Jan 2001
Location: Back and to the left
Posts: 1,488
Jester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond reputeJester has a reputation beyond repute
Quote:
Originally posted by Starbucks
Delphi

Code:
program b33r;
var
   bottles:integer;

begin
     for bottles:= 99 downto 1 do
         writeln(bottles,' bottles of beer on the wall,',bottles,
         ' bottles of beer, you take one down, pass it around ',
         bottles-1,' bottles of beer on the wall');
end.
Your program has a bug. It will print '1 bottles of beer on the wall'.

Jester
__________________
I always wanted to be a dancer, but I could never get the shit off my shoes
.......
Jester is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Forum Jump


All times are GMT +1. The time now is 00:44.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018