Code-bowling is a competition to solve a particular (usually simple) problem in the most bytes or complexity.

learn more… | top users | synonyms

5
votes
7answers
1k 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 ...
7
votes
4answers
620 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 ...
13
votes
7answers
2k 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 ...
1
vote
4answers
340 views

Write a Vim command that reads as English text

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 English word, so it makes a terrible mnemonic. This challenge is about ...
-4
votes
1answer
147 views

Longest code to reduce words [closed]

Write a code in your favorite language which reduces words To first three characters. Input : One word Output : First three letters For example INPUT : ProGramming OUTPUT : Pro INPUT : ...
0
votes
3answers
389 views

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

public int UndocumentedCode(int a, int b) { while (true) { a -= b; b += a; a = b - a; if (b < a) { ...
36
votes
14answers
9k 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 must be on topic (don't fill it ...
3
votes
5answers
490 views

LARGEST program to reverse a single line from stdin with no redundant code

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
6answers
596 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 ...
4
votes
7answers
553 views

Creating a quine in as many characters as possible

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 ...
2
votes
13answers
649 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. ...
21
votes
3answers
1k views

Build a program with one simple GOTO

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 ...
7
votes
9answers
2k views

Write ASCII-Art Obfuscated Code, read as, and resulting in: “DFTBA”

The challenge is to write the most elaborate code, embedded in ASCII art that reads and prints "DFTBA". For example, the following reads DFTBA: oooooooooo. oooooooooooo ooooooooooooo oooooooooo. ...
32
votes
19answers
8k views

Most complex “Hello world” program you can justify

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 ...
22
votes
31answers
3k views

Sort a list of numbers

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 ...