@Sparr I'm quite positive C is changing. However, realize that the snapshot you get is after C increments, and before the conditions are processed (in game). I pre-process the conditions to highlight them.
@Sparr cyan marks the current turn, green for true conditions, grey for overwritten lines, and white for everything else. If a line matches multiple of the above, the order I listed is the priority.
Print the Constitutional Amendment
Given a number from 1 to 27, print the appropriate amendment to the US Constitution, using this text.
Your score is the byte count of your source code, divided by the byte count of the best answer to this question in the same language. Therefore, you must use ...
It looks like someone actually went through questions which were one upvote from the badge and upvoted them. The ones I checked got their 5th upvote last night.
O.O Synthetica's avatar is a 99 with two rifle bullets... I never looked at it in detail and the smaller version always looked like a mix of diving goggles with a snorkel and a gas mask o.O
I'm not sure I follow, until recently I was happily running every 3rd night for an hour or so, but then I stopped, and now the nights seem cold. I'll probably slip back into a pattern when I'm back at University and my parents don't have to let me in at 02:00
I don't think it's rude if you credit them... can't imagine anything better than my code showing up with my name in some open source project, without ever having to go to the lengths of working it in and testing the project myself :D
btw, I think you should be able to fix your user name, if you went to your SO profile, changed it to Lembik there, and ticked a checkbox saying something like "Copy to all SE profiles"
The challenge is to draw the outline of an island, generated using a seed as input.
Input (seed): 1 to 12 character alphanumeric string
Each seed is to give a unique island (you don't necessarily have to prove this to be the case for every seed)
Using the same seed should always give the same ...
@user2179021 if it needs improvement it should be closed as quickly as possible, and reopened when fixed
the point of closing (which is actually "putting on hold" btw) is that the question can be salvaged before answers come in which would be invalidated by changes
Hmm, looking around to have fun vs having a problem and needing an answer? Well of course one's more fun. That doesn't make it better for everything ;)
Using your language of choice, golf a palindromic quine.
In many languages, an empty file is also a quine: that isn't considered a legitimate quine. You are also not allowed to read the source file and print it.
As is usual here, points for:
Smallest code (in characters)
Most obfuscated/obscu...
This challenge is an extension of 'Golf a mutual quine'.
Using three languages of your choice, create a third order Ouroboros program.
That is, in language A, write a program pA which outputs program pB in language B. Program pB should output program pC in language C, which in turn outputs the ...
Following on from the third order quine challenge, your task is to write an Ouroboros program that uses as many languages as possible.
That is, in language A, write a program pA which outputs program pB in language B. Program pB should output program pC in language C, and so on until eventually ...
Polyglot Quines
code-golf quine polyglot
Write a quine which is valid in at least two different languages. This is code golf, so the shortest answer (in bytes) wins.
Rules for Quines
Only true quines are accepted. That is, you need to print the entire source code verbatim to STDOUT, without:
...
I tried to write a new spec for the quine and the polyglot part which is hopefully a bit more solid than earlier ones, but let me know if I've overlooked any usual loopholes.
yes, "Number of languages" is even harder to determine in a polyglot than making sure that two languages used are different enough
because if I include that in the scoring I really need to draw a line between every suitable pair of languages and every unsuitable pair, which is near impossible
@Geobits I was just looking at Wednesday's xkcd again and I think my favourite panel (of the ones I've found so far) must be "I'm gonna go shut the server down!" ("splish, splish") :D
I wish the chess koth had some way to inspect single games, whether graphical or notational output. I have no idea what's happening in a given game, so it's hard to improve.