Questions tagged [answer-chaining]
An answer-chaining challenge is a challenge where previous answers to the challenge influence how new answers are produced.
49 questions
5
votes
13
answers
2k
views
Print the banned characters based on the most common characters
This is an answer-chaining post, so in this challenge every answer (except the first answer) depends on the previous answer.
The goal of this challenge is to output the restricted characters. Define \$...
13
votes
5
answers
1k
views
Print the answer before a given answer
In this challenge, you'll take an answer as input, and print the answer before it. If the answer passed as input is the first answer, print your own submission's source. You'll be passed any answer in ...
25
votes
20
answers
4k
views
Live a longer life
Conways' Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves ...
29
votes
21
answers
5k
views
Add a hidden language to a polyglot
Inspired/mostly copied but I don't think it's a dupe. Also Inspired.
In this challenge, you will create polyglots that include all languages from previous answers, and another language which you won't ...
15
votes
17
answers
2k
views
Print the last answerer's first submission
In this challenge, your past self comes back to help or hurt someone else!
The task is simple: write a full program, not a function, that prints the first code submission on this site submitted by the ...
11
votes
25
answers
2k
views
CGCC sings a song together
This is a code-shuffleboard answer-chaining challenge, where the answers will aim to, together, output the lyrics to this beloved 80s song.
This is the full lyrics of the song, line by line. The ...
22
votes
74
answers
5k
views
Compose a song, line by line
It's time for CGCC to demonstrate our musical talent! In this challenge, you're going to compose songs while keeping your byte count as small as possible.
On Day 0, multiple answerers will post a ...
-5
votes
8
answers
1k
views
Let's rise higher [closed]
Challenge
The main objective of the challenge is pretty simple, this is an answer chaining contest, where you have to serially print numbers from 1. That means User 1's answer will print ...
35
votes
21
answers
4k
views
Which answer did this user write?
EDIT (Jan 19, 2022, 18:00 UTC): This challenge is now over. The winner is Citty with this Pyth answer. Congratulations!
This is an answer-chaining challenge where each answer must take an integer \$N\...
18
votes
28
answers
2k
views
Output a unique sign sequence
A sign sequence is an infinite sequence consisting entirely of \$1\$ and \$-1\$. These can be constructed a number of ways, for example:
Alternating signs: \$1, -1, 1, -1, ...\$
\$-1\$ for primes, \$...
27
votes
70
answers
4k
views
Quickly! Group together!
As of 27/12/20, the challenge is over as no new answers were posted on the 26th. With an astounding 55 points (and 21 answers), the winner is pppery!
A quick shout out to the top 5 scorers as well:
...
16
votes
23
answers
3k
views
We're all unique in our own way
This is an answer-chaining challenge where every part of your answer should aim to be unique from every other answer.
This question will work in the following way:
I will post the first answer. The ...
5
votes
4
answers
411
views
More Codington Crescent
Who's up for a second attempt?
If you've ever listened to the radio program "I'm sorry, I haven't a clue", then you've probably heard of the game called "Mornington Crescent". For ...
10
votes
9
answers
865
views
Codington Crescent [duplicate]
Let's just see how this goes
If you've ever listened to the radio program "I'm sorry, I haven't a clue", then you've probably heard of the game called "Mornington Crescent". For ...
19
votes
40
answers
4k
views
The ASCII character countdown!
Since this is a answer-chaining challenge, you might want to sort answers by oldest.
Your task is simple: Choose any printable ASCII character that's not chosen in the previous answers. And then, you ...
-11
votes
1
answer
817
views
Don't get banned from stack exchange! [closed]
I'm sure this is going to spark some controversy, but let's do a practical demonstration.
The objective of this is simple, using the new code of conduct and no input, print out my pronouns ( "he/him"...
7
votes
7
answers
617
views
Print the previous answer in reverse - with a catch (pt. 2)
Your challenge is very simple: output the previous answer, in reverse.
However, as with this similarly-titled question, there's a catch: in this case, you cannot use characters from the answer before ...
2
votes
3
answers
418
views
Print the previous answer in reverse - with a catch [duplicate]
Your challenge is very simple: output the previous answer, in reverse.
However, as with this similarly-titled question, there's a catch: in this case, you can only use characters from the answer ...
12
votes
21
answers
2k
views
An OEIS polyglot
This is an answer-chaining challenge relating to the OEIS.
Oh, the justification for this is because a company needs one program to print out their OEIS sequences real bad and they have every ...
3
votes
2
answers
822
views
A poly-moly-holy quine. (Well, it's not, but the title's cool.)
This is an answer chaining puzzle, where each answer must add on to the last.
The \$n\$th submission must output its own source code in the \$n\$th language and the \$n−1\$ languages before it.
A ...
41
votes
18
answers
4k
views
Overlapping Polyglots
Unlike many C&R challenges, this does not require a separate robbers post; the goal of the robbers is to crack the previous answer and then post a new one as a cop.
As answerers, you will write a ...
17
votes
10
answers
1k
views
Quine Relay!
Quine Relay!
A quine relay of order \$n\$ is a series of programs \$P_1\dots P_n\$ in distinct languages such that each program \$P_i\$ outputs \$P_{i+1}\$ and \$P_n\$ outputs \$P_1\$.
For example, ...
18
votes
50
answers
3k
views
Add a egaugnaL to a polyglot
This is an answer-chaining question, which means that all answers are affected by those before them.
The task
The n-th answer to this question must run in all languages that are present in answers ...
38
votes
3
answers
2k
views
Build a golfing language with me
A lot of PPCG users helped with the creation of this challenge, both in chat and the Sandbox, specifically Martin Ender, AdmBorkBork, Emigna and user202729
Our community has found it necessary to ...
25
votes
31
answers
5k
views
Print the Previous Answer!
This is an answer-chaining challenge in which each answer builds on the previous answer. Taking no input, you are to output the most recent submission to this thread.
I would HIGHLY suggest sorting ...
53
votes
32
answers
5k
views
Does it Lead or Follow?
In this challenge you are to write a program or function, that takes a string as input and outputs one of two possible values. We will call one of these values truthy and one falsy. They do not need ...
-4
votes
2
answers
375
views
Polyglot the English Alphabet! [closed]
In this polyglot challenge, you will work together to figure out how to output all the 26 letters of the English alphabet!
How does this work?
For each answer, you must pick a new language (or a new ...
11
votes
12
answers
929
views
Travel Back in Quine
The challenge here is simple, and not at all about byte-count. Your job is to output the first 50 characters of the previous quine's source code, concatenated with the first 50 characters of yours ...
110
votes
409
answers
24k
views
One OEIS after another
As of 13/03/2018 16:45 UTC, the winner is answer #345, by Khuldraeseth na'Barya. This means the contest is officially over, but feel free to continue posting answers, just so long as they follow the ...
16
votes
3
answers
726
views
MacGyver's Second Toolbox
In this question each answer will get a "toolbox" that can be used to construct a program/function. The toolbox will consist of two things:
a list of programming languages
a list of valid characters
...
23
votes
56
answers
4k
views
MacGyver's Toolbox [duplicate]
In this question each answer will get a "toolbox" that can be used to construct a program/function. The toolbox will consist of two things:
a list of programming languages
a list of valid characters
...
25
votes
42
answers
3k
views
Answer-Chaining Fibonacci
(Inspired by ASCII's 95 Characters...95 Movie Quotes)
The Challenge
Given input n, output the nth Fibonacci number. You can ...
13
votes
23
answers
2k
views
Answer-Chaining - Positive divisors of a number
This answer-chaining challenge is officially over, resulting in the win of Wheat Wizard, with a total of 7 answers. Any other answer is welcome, but it won't influence the accepted answer for this ...
19
votes
11
answers
1k
views
You Are the User: Create the Requirements
My boss* does not understand why her programmers react negatively to users changing program requirements. Help her understand! On every answer, create a new requirement. Then, write a program/function ...
35
votes
70
answers
5k
views
Evolution of Powers of Two
This is a repost of Evolution of “Hello World!”, originally written by user Helka Homba
It should not be closed as a duplicated, due to meta consensus here.
The original was asked over two years ago ...
35
votes
26
answers
6k
views
Do you know that language?
Task:
Your challenge is, given previous submissions and itself as input, output the language that they're written in, in the following format:
Say the first program is in Ruby. It must output ...
4
votes
1
answer
419
views
Labyrinth Polyglot [closed]
Create a program that can create a randomly arranged maze (The path of the maze changes each time) with exactly 1 exit and one enterance and a minimum size of 8x4 and max size of 32x32, with the exact ...
308
votes
451
answers
133k
views
Add a language to a polyglot
This is an answer-chaining challenge in which each answer builds on the previous answer. I recommend sorting the thread by "oldest" in order to be sure about the order in which the posts are ...
-5
votes
4
answers
546
views
Help Me Count to Ten! [closed]
You will write a simple program that prints exactly 1 2 3 4 5 6 7 8 9 10 to STDOUT, Console, or your language's closest output method. No other visible output ...
0
votes
16
answers
671
views
Print all the numbers! (At least, as many as possible.) [closed]
Your task is to print a number. Simple, right? It is simple, but not as simple as this. The first answer is to print the number 1, the second answer is to print the number 2, etc.
Rules
The first ...
23
votes
12
answers
3k
views
The Complement Cat
Objective Write a full program that outputs (to STDOUT or closest alternative) an arbitrary string of text, no more than 64 characters long. Simple enough, right? Well, here's the catch: You may not ...
38
votes
118
answers
6k
views
Let's make a word-search!
In this challenge, we will together create a word-search containing many programs in different languages.
I have started us off with a grid of 60-by-25 blanks (·), ...
61
votes
153
answers
7k
views
Evolution of OEIS
In this challenge, the goal is to recreate the On-Line Encyclopedia of Integer Sequences one sequence at a time. Similar to the Evolution of Hello World, each answer depends on a previous answer.
...
16
votes
32
answers
4k
views
Print the first character of the previous answers
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 ...
179
votes
101
answers
44k
views
Programming Languages Through The Years
In this challenge, users will take turns completeing three fairly simple coding tasks in programming languages that are allowed to be progressively older.
The first answer must use a programming ...
18
votes
36
answers
5k
views
The Jigsaw Code Puzzle
This is an answer-dependent challenge! The order of answers matters, and your exact task depends on the last answer that was posted. You might want to sort the answers by oldest.
Let's piece together ...
42
votes
42
answers
6k
views
A Different Kind of Meta Regex Golf
Notice: Following popular demand I have slightly relaxed the rules:
The maximum regex size grows by 1 byte every 5 answers. Answer N may use up to 29 + ⌈N/5⌉ bytes.
The score of each answer ...
123
votes
95
answers
25k
views
ASCII's 95 Characters...95 Movie Quotes
Update: The winner has been decided, but the challenge is not over!
Finally, nearly 3 months after the question first started, someone has remained the last answerer for more than a week! ...
237
votes
186
answers
41k
views
Evolution of "Hello World!"
This contest is officially over, the winner is jimmy23013. Congratulations!
The challenge is to make a program that prints Hello World! to stdout. The catch is that ...