Questions tagged [code-bowling]
Code bowling is a competition to solve a particular problem in the most bytes possible. Must be used with other restrictions so that arbitrarily high scores aren't trivially possible.
37 questions
7
votes
6
answers
1k
views
Longest irreducible quine
Write an irreducible proper quine, i.e. a program that prints its own source code, which can't be reduced by removing characters to a shorter program with the same constraints.
Eg. the python quine:
<...
9
votes
5
answers
849
views
Output greater than without the previous character
For each character in your program, the program with that character removed must produce a number smaller than the program with the next character removed. Your base program isn't required to do ...
16
votes
4
answers
979
views
Pristine Polyglots
As the title says, you are to create a pristine program in as many languages as possible. A pristine program, taken from here, is:
Let's define a pristine program as a program that does not have any ...
8
votes
6
answers
900
views
Biggest Irreducible Cat [duplicate]
I guess you could call this the next challenge in the "Irreducible series".
Hello World
Challenge
Create a cat subject to the constraint that it is irreducible.
A cat program ...
5
votes
5
answers
695
views
Determine the lexicographical permutation your code is in
Write a program that outputs the number 0.
That's a bit trivial, isn't it?
Let's sort all distinct permutations of your code in lexicographical order. When any of these codes are run, it should ...
5
votes
1
answer
411
views
What is the longest possible DDL query in PostgreSQL?
We all know and love the corpulent DDL expressions one can write in PostgreSQL with wording like DEFERRABLE INITIALLY DEFERRED, ...
13
votes
1
answer
776
views
Is everything in order?
Challenge:
Input: a string, consisting of only printable ASCII characters
Output: a truthy/falsey value whether its characters are in alphabetical order (based on their UTF-8 unicode values), from any ...
61
votes
24
answers
18k
views
Biggest Irreducible Hello World
Create a program that outputs Hello, World!
The winner is the source code that is the biggest, subject to the constraint that it is irreducible
For this challenge,...
3
votes
3
answers
452
views
Longest pristine(ish) codepoint run
Your challenge is to create the longest run of characters with incrementing Unicode codepoints in a pristine program as you can. To keep things simple, I'll abridge the definition for this challenge ...
-2
votes
4
answers
921
views
Find the hardest OEIS sequence to golf!
Notice: This question originally had people write comments with a shorter program, rather than new answers. This has been changed so that people with shorter programs can get reputation too. Hopefully ...
25
votes
3
answers
2k
views
Meta-bowling Golf
Your task is to create the shortest program (A) that outputs another program (B) with the most unique bytes, which in turn outputs the original program (A). Essentially, you are golfing one half of a ...
95
votes
20
answers
8k
views
Pristine and Unique Code Bowling
Your challenge is simple: write as long of a pristine program as possible in the language of your choice using only unique bytes. (The full definition of a pristine program, copied from that link, is ...
9
votes
32
answers
2k
views
Square and square [closed]
Squares looks symmetric, and so are the required codes.
Objective: Write a program whose source code is a solid square (N lines with N printable, non-whitespace characters each line) and prints a ...
10
votes
5
answers
2k
views
It's Anagram Quine, not just Quine!
The Task
In this challenge, your task is to write a program, which takes in no input, with as many anagrams that are quine of themselves as possible.
Your score will be the number of anagrams of your ...
26
votes
5
answers
2k
views
Same code different characters
Note: This challenge only allows answers in compiled languages
Task
Your task is pretty simple, make two different programs that when compiled result in the same output.
Scoring
Here is where the ...
14
votes
14
answers
2k
views
Rearrangeable Code Bowling
Code-Bowling Challenge
Write a program or function that produces the same output, no matter how you re-arrange the source code. (Output can't be an error)
Pangram Scoring
Your score is the amount of ...
1
vote
1
answer
570
views
Bowl a rectangular quine
Code-Bowling Quine Challenge
You must bowl a quine following the rules of code bowling and quines but the source code must be in the shape of a rectangle (details specified below)
Quine
Quines ...
63
votes
35
answers
11k
views
Output the text "Code Bowling"
Code-Bowling
You've been hired by Brunswick Bowling to create a simple program to output the text Code Bowling on their monitors. This company is worth a pretty ...
-8
votes
2
answers
532
views
Make the longest cat program [closed]
There's been challenges for the shortest cat program, but as far as I know, there hasn't been any for the longest one.
A cat program is a program that copies its input to its output. Here's an ...
2
votes
4
answers
852
views
Pi Bowling to 10 in 10 [closed]
Your Goal: Estimate pi to at least 10 decimal places. The format is your choice - it can output as a number, as a string, as an output to STDOUT, etc.
Seems easy, right? But wait, it's not as simple ...
11
votes
24
answers
3k
views
Cops and Robbers bowling (Robbers)
Robbers' Thread
In this challenge, your goal is to crack some code written by the Cops (their code is here) by modifying it. You have cracked their code if:
Your modified code has a maximum ...
19
votes
26
answers
19k
views
Cops and Robbers bowling (Cops)
Cops' Thread
In this challenge, your goal is to write a function that accepts a integer N, and that function will return the first ...
28
votes
8
answers
7k
views
The Bowlers-Golfers Fraction War
Introduction
Let's start by arranging all fractions from 0 to 1 in order of lowest denominator, then lowest numerator:
1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5, 1/6, 5/6, 1/7...
Note that ...
9
votes
4
answers
1k
views
Negate a number
You are to accept, on standard input, one number. You will then output the negation of that number. Your code will do nothing else. You may accept various formats if you wish (like "one" or ("uno+2....
17
votes
12
answers
4k
views
Hello world with a twist
Your goal: to write a piece of code that will result in the classic result of "Hello, world!" being printed to STDOUT or equivalent.
Rules: Code must be entirely in printing ASCII. All code must be ...
2
votes
4
answers
932
views
Write a Vim command that reads as English text [closed]
Once you grok vi, your muscle memory learns tricks like ggVGx to delete all the text in a file. Trouble is, ggVGx is not an ...
-6
votes
1
answer
249
views
Longest code to reduce words [closed]
Write a code in your favorite language which reduces words To first three characters.
...
-1
votes
3
answers
583
views
40
votes
13
answers
27k
views
Longest code to add two numbers [closed]
Task:
I know we can all add two numbers the short way, using +. Your task is to create the longest code you can to add two input numbers.
Rules:
All of the code ...
2
votes
6
answers
860
views
LARGEST program to reverse a single line from stdin with no redundant code [closed]
The biggest program that reads a single line (terminated by your choice from NULL/CR/LF/CRLF) from stdin, reverses it, then prints it to stdout.
No redundant code [code which could safely be deleted] ...
6
votes
7
answers
1k
views
Write the longest program that prints the date of tomorrow [closed]
I would like to propose a new kind of challenge: Anti Code Golf! (as anti-golf, not anti-code). The idea is to write the longest program you can write to do something.
That would be Code Bowling, as ...
2
votes
7
answers
911
views
Creating a quine in as many characters as possible [closed]
A code-bowling is not the same as a code-golf, in a Code-Bowling, you should solve the challenge in as many characters as possible. The goal of this Code-Bowling is to create a quine in as many ...
3
votes
13
answers
1k
views
Same code shape and output shape [closed]
I am not sure if this is possible. I have tried it and couldn't make it work at all, but I am being hopeful.
If this is not possible please flag this question and I will promptly delete it.
...
24
votes
3
answers
2k
views
Build a program with one simple GOTO [closed]
Image credit: Randall Munroe
Your task is to build the largest program you can that uses exactly one GOTO, without which the entire program (or at least a huge chunk of it) must be completely ...
7
votes
9
answers
7k
views
Write ASCII-Art Obfuscated Code, read as, and resulting in: "DFTBA" [closed]
The challenge is to write the most elaborate code, embedded in ASCII art that reads and prints "DFTBA". For example, the following reads DFTBA:
...
41
votes
23
answers
85k
views
Most complex "Hello world" program you can justify [closed]
Your boss asks you to write a "hello world" program. Since you get paid for lines of code, you want to make it as complex as possible. However if you just add nonsense lines, or obviously useless or ...
26
votes
33
answers
11k
views
Sort a list of numbers [closed]
About Code-Bowling:
In golf, you try to get the lowest score (smallest application, most elegant, etc). In Bowling, you try to get the highest score. So if you follow, the goal of a Code-Bowling ...