Skip to main content

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.

Filter by
Sorted by
Tagged with
7 votes
6 answers
1k views

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: <...
math scat's user avatar
  • 9,538
9 votes
5 answers
849 views

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 ...
noodle person's user avatar
16 votes
4 answers
979 views

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 ...
caird coinheringaahing's user avatar
8 votes
6 answers
900 views

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 ...
Mason's user avatar
  • 2,175
5 votes
5 answers
695 views

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 ...
user avatar
5 votes
1 answer
411 views

We all know and love the corpulent DDL expressions one can write in PostgreSQL with wording like DEFERRABLE INITIALLY DEFERRED, ...
ggPeti's user avatar
  • 211
13 votes
1 answer
776 views

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 ...
Kevin Cruijssen's user avatar
61 votes
24 answers
18k views

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,...
Mason's user avatar
  • 2,175
3 votes
3 answers
452 views

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

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 ...
pommicket's user avatar
  • 3,187
25 votes
3 answers
2k views

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 ...
Beefster's user avatar
  • 10k
95 votes
20 answers
8k views

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 ...
praosylen's user avatar
  • 1,525
9 votes
32 answers
2k views

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 ...
iBug's user avatar
  • 2,731
10 votes
5 answers
2k views

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 ...
Arjun's user avatar
  • 5,174
26 votes
5 answers
2k views

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

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 ...
Albert Renshaw's user avatar
1 vote
1 answer
570 views

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 ...
user avatar
63 votes
35 answers
11k views

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 ...
Albert Renshaw's user avatar
-8 votes
2 answers
532 views

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 ...
m654's user avatar
  • 837
2 votes
4 answers
852 views

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 ...
Glen O's user avatar
  • 2,986
11 votes
24 answers
3k views

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 ...
Nathan Merrill's user avatar
19 votes
26 answers
19k views

Cops' Thread In this challenge, your goal is to write a function that accepts a integer N, and that function will return the first ...
Nathan Merrill's user avatar
28 votes
8 answers
7k views

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 ...
Ypnypn's user avatar
  • 10.9k
9 votes
4 answers
1k views

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....
Christopher King's user avatar
17 votes
12 answers
4k views

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 ...
Glen O's user avatar
  • 2,986
2 votes
4 answers
932 views

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 ...
Alex Shroyer's user avatar
-6 votes
1 answer
249 views

Write a code in your favorite language which reduces words To first three characters. ...
Mukul Kumar's user avatar
  • 2,725
40 votes
13 answers
27k views

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 ...
TheDoctor's user avatar
  • 8,003
2 votes
6 answers
860 views

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] ...
Mark K Cowan's user avatar
6 votes
7 answers
1k views

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 ...
Kroltan's user avatar
  • 524
2 votes
7 answers
911 views

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 ...
user3094403's user avatar
  • 8,375
3 votes
13 answers
1k views

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. ...
Quillion's user avatar
  • 849
24 votes
3 answers
2k views

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 ...
Joe Z.'s user avatar
  • 35.5k
7 votes
9 answers
7k views

The challenge is to write the most elaborate code, embedded in ASCII art that reads and prints "DFTBA". For example, the following reads DFTBA: ...
Brigand's user avatar
  • 1,177
41 votes
23 answers
85k views

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 ...
celtschk's user avatar
  • 4,716
26 votes
33 answers
11k views

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 ...
ircmaxell's user avatar
  • 937