Skip to main content

Questions tagged [answer-chaining]

An answer-chaining challenge is a challenge where previous answers to the challenge influence how new answers are produced.

Filter by
Sorted by
Tagged with
5 votes
13 answers
2k views

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 \$...
Fmbalbuena's user avatar
  • 5,105
13 votes
5 answers
1k views

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 ...
rydwolf's user avatar
  • 19.3k
25 votes
20 answers
4k views

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 ...
caird coinheringaahing's user avatar
29 votes
21 answers
5k views

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 ...
emanresu A's user avatar
  • 46.2k
15 votes
17 answers
2k views

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 ...
Purple P's user avatar
  • 1,687
11 votes
25 answers
2k views

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 ...
caird coinheringaahing's user avatar
22 votes
74 answers
5k views

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 ...
user's user avatar
  • 457
-5 votes
8 answers
1k views

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 ...
avarice's user avatar
  • 12.5k
35 votes
21 answers
4k views

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\...
Arnauld's user avatar
  • 206k
18 votes
28 answers
2k views

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, \$...
caird coinheringaahing's user avatar
27 votes
70 answers
4k views

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: ...
caird coinheringaahing's user avatar
16 votes
23 answers
3k views

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 ...
caird coinheringaahing's user avatar
5 votes
4 answers
411 views

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 ...
lyxal's user avatar
  • 35.6k
10 votes
9 answers
865 views

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 ...
lyxal's user avatar
  • 35.6k
19 votes
40 answers
4k views

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 ...
user avatar
-11 votes
1 answer
817 views

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"...
tuskiomi's user avatar
  • 3,871
7 votes
7 answers
617 views

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 ...
Geza Kerecsenyi's user avatar
2 votes
3 answers
418 views

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 ...
Geza Kerecsenyi's user avatar
12 votes
21 answers
2k views

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 ...
AndrewTheCodegolfer's user avatar
3 votes
2 answers
822 views

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 ...
AndrewTheCodegolfer's user avatar
41 votes
18 answers
4k views

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 ...
Esolanging Fruit's user avatar
17 votes
10 answers
1k views

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, ...
Conor O'Brien's user avatar
18 votes
50 answers
3k views

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 ...
FreezePhoenix's user avatar
38 votes
3 answers
2k views

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 ...
caird coinheringaahing's user avatar
25 votes
31 answers
5k views

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 ...
X1M4L's user avatar
  • 1,886
53 votes
32 answers
5k views

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 ...
Wheat Wizard's user avatar
  • 103k
-4 votes
2 answers
375 views

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 ...
arodebaugh's user avatar
11 votes
12 answers
929 views

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 ...
Magic Octopus Urn's user avatar
110 votes
409 answers
24k views

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 ...
caird coinheringaahing's user avatar
16 votes
3 answers
726 views

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 ...
Wheat Wizard's user avatar
  • 103k
23 votes
56 answers
4k views

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 ...
Wheat Wizard's user avatar
  • 103k
25 votes
42 answers
3k views

(Inspired by ASCII's 95 Characters...95 Movie Quotes) The Challenge Given input n, output the nth Fibonacci number. You can ...
AdmBorkBork's user avatar
  • 43.7k
13 votes
23 answers
2k views

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 ...
Mr. Xcoder's user avatar
  • 42.9k
19 votes
11 answers
1k views

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 ...
Stephen's user avatar
  • 14.2k
35 votes
70 answers
5k views

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 ...
Pavel's user avatar
  • 9,457
35 votes
26 answers
6k views

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 ...
clismique's user avatar
  • 7,000
4 votes
1 answer
419 views

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 ...
GracefulLemming's user avatar
308 votes
451 answers
133k views

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 ...
user avatar
-5 votes
4 answers
546 views

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 ...
yoonicode's user avatar
  • 377
0 votes
16 answers
671 views

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 ...
Seadrus's user avatar
  • 1,403
23 votes
12 answers
3k views

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 ...
Conor O'Brien's user avatar
38 votes
118 answers
6k views

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 (·), ...
Ypnypn's user avatar
  • 10.9k
61 votes
153 answers
7k views

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. ...
PhiNotPi's user avatar
  • 29.3k
16 votes
32 answers
4k views

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 ...
ASCIIThenANSI's user avatar
179 votes
101 answers
44k views

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 ...
Calvin's Hobbies's user avatar
18 votes
36 answers
5k views

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 ...
Martin Ender's user avatar
42 votes
42 answers
6k views

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 ...
Martin Ender's user avatar
123 votes
95 answers
25k views

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! ...
Calvin's Hobbies's user avatar
237 votes
186 answers
41k views

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 ...
Calvin's Hobbies's user avatar