Code Golf Stack Exchange Community Digest

Top new questions this week:

Fast sampling of special binary strings

We are going to define a simple little language. A word in this language is a binary string where the longest run of consecutive \$0\$s, is shorter than every (maximal) run of \$1\$s. So for example: \...

math random restricted-complexity  
user avatar asked by Wheat Wizard Score of 11
user avatar answered by DPenner1 Score of 4

Speak in Binary

Background This video goes into ways you can humanize binary, including creating a more compact writing notation using . and | ...

code-golf binary natural-language  
user avatar asked by user119818 Score of 2
user avatar answered by l4m2 Score of 1

Greatest hits from previous weeks:

Polygon prefixes

Polygons are named after the number of sides that they have. A pentagon has 5 sides, an octagon has 8 sides. But how are they named? What's the name for a 248-sided polygon? All polygons are suffixed ...

code-golf geometry  
user avatar asked by beary605 Score of 18
user avatar answered by baby-rabbit Score of 5

Covfefify a string

In this challenge, you must take a string matching the regex ^[a-zA-Z]+$ or whatever is reasonable (you don't have to consider uppercase or lowercase letters if you ...

code-golf string  
user avatar asked by Destructible Lemon Score of 395
user avatar answered by Jonathan Allan Score of 94

Obfuscated Hello World

Create the shortest possible obfuscated program that displays the text "Hello World". In order to be considered an obfuscated program, it must meet at least two of the following requirements: Does ...

code-golf obfuscation hello-world restricted-source  
user avatar asked by Kevin Brown-Silva Score of 138
user avatar answered by C. K. Young Score of 56

Create a simple 2048 game clone

2048 is an incredibly fun and addictive game in which the goal is to create a tile with 2048 on it. Here's a short description of the game: Pressing an arrow key will slide all the blocks in the ...

code-golf game sliding-puzzle  
user avatar asked by Doorknob Score of 56
user avatar answered by Adám Score of 10

Build a working game of Tetris in Conway's Game of Life

Here is a theoretical question - one that doesn't afford an easy answer in any case, not even the trivial one. In Conway's Game of Life, there exist constructs such as the metapixel which allow the ...

code-challenge game cellular-automata game-of-life tetris  
user avatar asked by Joe Z. Score of 1255
user avatar answered by PhiNotPi Score of 1224

Survival Game - Create Your Wolf

The Board The Board is a two dimensional array of cells. Cells are populated by Animals. Every day, all Animals on the Board simultaneously make one move. If two or more Animals move to the same cell, ...

king-of-the-hill java  
user avatar asked by Rainbolt Score of 249
user avatar answered by Herjan Score of 48

Trick or Treat polyglot

Since Halloween is coming up I thought I might start a fun little code golf challenge! The challenge is quite simple. You have to write a program that outputs either ...

code-golf string polyglot  
user avatar asked by BrainStone Score of 164
user avatar answered by Dennis Score of 154
You're receiving this message because you subscribed to the Code Golf community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3