Linked Questions
89 questions linked to/from Golf you a quine for great good!
9
votes
4answers
603 views
Alice's ordinal formatting
Introduction
Alice is a 2-d language by Martin Ender which has two different execution modes, cardinal and ordinal. When the instruction pointer passes through a mirror (either ...
10
votes
4answers
464 views
11
votes
1answer
620 views
Auto cycler quine
Make a quine but with a twist.
Statement
The quine prints its code but puts its first character at the end.
(You can do it in reverse but include that note in your answer)
The output must then be a ...
3
votes
13answers
411 views
Create a kind of quine, such that the program prints one character of itself, then two, then three and so on
Create quine variant such that the program prints its first character, then the first two, then three and so on until the whole program is printed.
Example
Suppose your code is ...
23
votes
2answers
591 views
On this site we obey the laws of thermodynamics!
And in particular the second law: the entropy of an isolated system increases over time.
For this challenge,
An "isolated system" will be taken to be a program or function (abbreviated as "program" ...
3
votes
15answers
592 views
The anti-narcissist
The narcissist is a program which, given its own source as input, prints a truthy value and, given anything other than that, prints a falsey value. Today, we're reversing this.
Create a program that, ...
9
votes
2answers
365 views
Error (or warning) quine that's also a regular quine [closed]
(Inspired by this comment on an old question.)
Background
An error quine (also known as a "Kimian quine") is a program which, when compiled or run, causes the compiler/interpreter/runtime to print ...
17
votes
1answer
420 views
Rotation-safe quine
Write a proper quine whose every rotation is itself a proper quine.
For example, if your source code is abcdef, then:
abcdef ...
8
votes
4answers
320 views
Rock Paper Scissors (Sorta) Quine
Create three programs, which we'll call Rock, Paper, and Scissors.
Each program must be unique, and accept input.
If a program gets any input which is not one of the programs Rock, Paper or ...
12
votes
3answers
387 views
Session-Saving Quine
Inspired by this question.
Create a program that prompts the user to store some data, and when the program is quitting, spit out the program itself, except the session data changed.
The user then ...
7
votes
3answers
286 views
Write a continuous quine (quine-variant)
Let's define a 2-quine as a program that prints its source code two times. For example, if the program ABC printed ABCABC, it ...
5
votes
3answers
238 views
Intron Adder Quine
In the context of quines, an intron (or payload) is a part of a quine that serves no purpose in producing output, but is still included in the data section. For example:
...
-2
votes
5answers
297 views
45 degree quine [closed]
A very simple golf this time, but should be fun to do.
Challenge
Output your code, but rotated 45 (or -45) degrees. E.g:
lorem ipsum dolor sit amet
becomes
<...
-3
votes
2answers
245 views
Invert your code [closed]
Challenge
Return the full contents of your program, but inverted. How do your invert something? Well,
Letters: Take the position of the letter in the alphabet, subtract from 26, and use the letter ...