17
1
The accepted winner is isaacg, with his 7-bit ASCII answer. However, the challenge isn't over yet - this bounty is awarded to the shortest answer. If, somehow, you get all the first characters of all the other answers down into 10 bytes, you will win the bounty. This includes all the characters from Round 2's GolfScript answer (plus the one added by that answer itself). This is the ONE time I will let you go out of order - if you have any objections to this, let me know in the comments.
I'd like to give credit to randomra, who helped me with my old idea and gave me this new one.
Previous Winners
Round 1: isaacg, with 7-bit ASCII
Next bytes: 30 (or 10 if you want that sweet, sweet rep)
You know, code-golfing is really cool. People take a challenge, and it slowly gets smaller! But let's do this another way. So, here is my challenge:The code will print the first character of all the previous answers in the order they were posted (the first answer prints nothing)
- The code starts at 100 bytes and decreases by 5 each time.
- If two posts are going by the same answer (i.e, they both posted within a few seconds of each other), the newer one has to add the old one's character and decrease by 5 bytes (even by a few seconds).
- Any language can be used.
- Your code must not produce any errors.
- Your code must use all the bytes required for the first step.
- Your code must print to STDOUT.
- Non-printable characters are OK, but:
- They can not be the first character (for the sake of the purpose of this question)
- You must let everyone know where they are
- You may post multiple answers, but:
- You must wait 2 answers before posting another (so if you posted the 100 bytes, you have to wait until 85 bytes.)
- You can't:
- use more than 10 bytes of comments
- have variables that go unused for the entire program
- fill the program with whitespace
- have variable names longer than 10 bytes (but you can have multiple less-than 10-byte variables)
(EMBLEM's first answer being the exception to these rules, because it was posted before these restrictions.)
- No standard loopholes. Unless you want to take all the fun out of the challenge.
- When no more answers are submitted for 3 weeks, the answer that uses the fewest bytes wins. (In the event of a tie, the one printing the longer string wins.)
Example: The third answer has to be a 90 bytes long code outputting two characters (the first char of the 100-byte code then the first char of the 95-byte code). The first answer outputs nothing (no previous answers to get chars from).
"Unnecessary whitespace" is bad wording. Python's whitespace to end statements is unnecessary, because you can use semicolons. – EMBLEM – 2015-04-07T18:17:55.533
Did you notice that this will end with only 9 to 10 answers ? – Optimizer – 2015-04-07T18:17:55.697
@Optimizer I think 10+ is possible - each answer reduces the available space by 5 bytes, and increases the requirement by 1, so the hard limit is probably 16 answers. – isaacg – 2015-04-07T18:19:44.440
@isaacg assuming that golfing languages are still available at 10+ answer stage. – Optimizer – 2015-04-07T18:20:19.240
@Optimizer Languages can be repeated. – isaacg – 2015-04-07T18:20:49.410
@isaacg ah. my bad in that. – Optimizer – 2015-04-07T18:22:01.180
Can we use non-printable ascii? – jimmy23013 – 2015-04-07T18:50:51.453
@user23013 Only if it's not the first character, so we don't ruin the whole challenge. It still counts to bytes, and you have to mark where the characters are. Other than that, it should be OK. – ASCIIThenANSI – 2015-04-07T18:52:38.693
What's the purpose of "Your code must have one print statement/function"? Can we use GolfScript or CJam that print the stack automatically without a print statement? Alternatively, can we use two or more print statements or print the characters one by one in a loop? – jimmy23013 – 2015-04-07T18:55:14.067
@user23013 Yes. I think I messed that one up, it just has to print to STDOUT. – ASCIIThenANSI – 2015-04-07T18:57:04.330
8Perhaps, we can start at 100 bytes again, but start with
ppuppPq([#fwSmdP[
as the starting string, and restarting each time the string is longer than the allowed bytecount. I can't think of a winning criterion then, though. – Sanchises – 2015-04-07T20:22:00.283@sanchises What would happen after 100 answers? – LegionMammal978 – 2015-04-07T20:37:40.507
@LegionMammal978 The universe will end. – Sanchises – 2015-04-07T20:48:20.813
@LegionMammal978 Well, this answer encodes and prints 17 letters in only 15 bytes. It can just keep going until no-one can add any more answers. But just in case someone is able to get all 18 in 10 bytes, we should have to wait 24 hours before restarting from 100.
– Scimonster – 2015-04-07T21:12:39.417@Scimonster I'd be impressed if anyone did that. – ASCIIThenANSI – 2015-04-07T21:17:13.887
@ASCIIThenANSI So would i, but it might be possible. That's why i suggest giving it 24 hours to be pretty sure that no more golfing is going to be done. – Scimonster – 2015-04-07T21:19:10.917
@Scimonster Agreed. – ASCIIThenANSI – 2015-04-07T21:24:13.697
1@Scimonster You honestly think there is a 4-bit character set that includes all of
#(PS[dfmpquw
? We're running into the very limits of information density here. Unless you write a 10-byte program that processes all previous answers. Not sure if that's worth waiting for. – Sanchises – 2015-04-07T21:30:15.1572@sanchises We're not saying there is one. We're giving people a chance to see what they can do. If no one can, we'll restart it. – ASCIIThenANSI – 2015-04-07T21:35:28.173
Can your answer print any printable characters that aren't part of previous answers? I think it's possible to write a 10 byte golfscript that just prints the ASCII characters 18 times. – Nzall – 2015-04-08T21:30:06.897
⯋劳⽐̡㋰Ύ褞⺄祳PΏ -- can anybody decode this ? – Willem – 2015-04-09T04:32:14.937
6-1 Why didn't this challenge just die with dignity after the 15-byte solution? It seems disingenuous to change it after a good, "winning" answer has been given just so you can keep playing by different rules. – Geobits – 2015-04-09T13:07:05.700
Please read the comments on this answer and, if you don't mind, edit the question to address the ambiguity.
– Rainbolt – 2015-04-09T15:35:19.567@Rainbolt I've fixed the ambiguity. This means you can't define a bunch of variables, and then print the characters without using them. In the linked question,
var __
is disallowed, but renamingp
would be acceptable. – ASCIIThenANSI – 2015-04-09T15:51:58.807@bcsb1001 Nope. GolfScript did it in 35: http://codegolf.stackexchange.com/a/48673/38891
– ASCIIThenANSI – 2015-04-09T16:00:04.50018 chars in 10 bytes, anyone? – mbomb007 – 2015-04-10T16:55:14.753
@mbomb007 Might be possible. 15-bytes surprised everyone. – ASCIIThenANSI – 2015-04-10T17:13:18.910
Yeah, but that wasn't a programming language, but rather an encoding. The characters necessary now aren't possible due to data density and current encodings. – mbomb007 – 2015-04-12T20:12:44.807
@mbomb007 Maybe you could encode some golfing language in 7-bit ASCII. – ASCIIThenANSI – 2015-04-13T00:20:18.610
It doesn't look like it's going to happen. – SuperJedi224 – 2015-05-15T21:37:08.973