2022 Developer Survey is open! Take survey.

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
15 votes
2 answers
522 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 ...
user avatar
8 votes
6 answers
617 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 ...
user avatar
  • 2,107
3 votes
5 answers
537 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 ...
user avatar
5 votes
1 answer
287 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, ...
user avatar
  • 211
14 votes
1 answer
621 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 ...
user avatar
57 votes
19 answers
17k 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,...
user avatar
  • 2,107
3 votes
3 answers
334 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 ...
user avatar
-1 votes
3 answers
668 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 ...
user avatar
  • 3,043
24 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 ...
user avatar
  • 9,791
88 votes
20 answers
7k 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 ...
user avatar
  • 1,445
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 ...
user avatar
  • 2,601
10 votes
5 answers
1k 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 ...
user avatar
  • 4,890
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 ...
user avatar
  • 84.9k
14 votes
14 answers
1k 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 ...
user avatar
1 vote
1 answer
501 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 ...
user avatar
  • 3,532
60 votes
33 answers
10k 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 ...
user avatar
-6 votes
2 answers
467 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 ...
user avatar
  • 793
3 votes
4 answers
759 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 ...
user avatar
  • 2,838
10 votes
24 answers
2k 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 ...
user avatar
18 votes
26 answers
17k 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 ...
user avatar
27 votes
8 answers
6k 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 ...
user avatar
  • 10.8k
7 votes
3 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....
user avatar
  • 7,069
17 votes
11 answers
3k 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 ...
user avatar
  • 2,838
2 votes
4 answers
819 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 ...
user avatar
-4 votes
1 answer
206 views

Longest code to reduce words [closed]

Write a code in your favorite language which reduces words To first three characters. ...
user avatar
  • 2,655
-1 votes
3 answers
514 views

How large can you make this function without adding any lines of code that do nothing [closed]

...
user avatar
  • 107
40 votes
13 answers
19k 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 ...
user avatar
  • 7,859
2 votes
6 answers
777 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] ...
user avatar
5 votes
6 answers
954 views

Write the longest program that prints the date of tomorrow

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 ...
user avatar
  • 504
3 votes
7 answers
780 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 ...
user avatar
  • 8,273
4 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. ...
user avatar
  • 843
24 votes
3 answers
2k views

Build a program with one simple GOTO [closed]

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 restructured. The score is counted as ...
user avatar
  • 33.7k
8 votes
9 answers
6k 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: ...
user avatar
  • 1,169
41 votes
23 answers
72k 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 ...
user avatar
  • 4,670
26 votes
33 answers
9k 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 ...
user avatar
  • 919