Code Golf Stack Exchange Community Digest

Top new questions this week:

Print every Fool's Mate

In chess, the Fool's Mate is the fastest possible way to reach checkmate. It is reached with Black's second move. In chess notation, one possible sequence of moves that achieves Fool's Mate is ...

code-golf kolmogorov-complexity chess  
user avatar asked by Pandu Score of 25
user avatar answered by Digital Trauma Score of 12

Carryless factors

Carryless multiplication is an operation similar to binary long multiplication, but with XOR instead of addition: ...

code-golf math integer binary factoring  
user avatar asked by Radvylf Programs Score of 16
user avatar answered by Arnauld Score of 7

Create a nibble shorthand

I recently stumbled across this image on wikimedia commons. It's a little bit of an information overload at first, but after examining it a bit it shows an interesting number system for writing ...

code-golf graphical-output binary open-ended-function  
user avatar asked by Wheat Wizard Score of 12
user avatar answered by Luis Mendo Score of 13

Count the number of compositions of \$n\$ in which the greatest part is odd

A composition of an integer \$n\$ is a representation of \$n\$ as a sum of positive integers. For example the eight compositions of 4 are as follows: ...

code-golf math sequence integer-partitions  
user avatar asked by graffe Score of 11
user avatar answered by xnor Score of 6

It's Just Rocket Science

Write a program/function that finds the amount of fuel needed to escape Earth's gravity well given the exhaust velocity of the fuel and the amount of mass to transport using the Tsiolkovsky rocket ...

code-golf math  
user avatar asked by pigrammer Score of 9
user avatar answered by Sean Score of 3

Greatest hits from previous weeks:

La La Land... no wait, Moo Moo Moonlight

This challenge is a tribute to the winner of Best Picture at the Oscars 2017, La La Land Moonlight! Write a function/program that takes a string containing only letters ...

code-golf string  
user avatar asked by Stewie Griffin Score of 123

Paint Starry Night, objectively, in 1kB of code

Note: a 1000 point bounty is still available for this challenge, which I will create and award if anyone takes the top score without using built-in compression. Below is a ...

code-challenge graphical-output compression  
user avatar asked by N. Virgo Score of 254
user avatar answered by Anders Kaseorg Score of 131

Draw the "Cool S"

Introduction We all know the cool S (also known as Superman S, Stüssy S, Super S, Skater S, Pointy S, Graffiti S etc. etc.): billions of schoolchildren around the world drew this S and immediately ...

code-golf ascii-art  
user avatar asked by Beta Decay Score of 48
user avatar answered by Charlie Score of 17

Print every character your program doesn't have

Your task is to build a program (using only printable ASCII characters and/or tabs and newlines) that prints out exactly the characters in the printable ASCII space (...

code-golf self-referential  
user avatar asked by Joe Z. Score of 232
user avatar answered by Howard Score of 57

Draw the national flag of Iceland

This year's UEFA Euro 2016 is over and besides a couple of negative headlines there has been a very positive surprise as well – the Iceland national football team. Let's draw their national flag. ...

code-golf kolmogorov-complexity graphical-output geometry  
user avatar asked by insertusernamehere Score of 110
user avatar answered by Gábor Fekete Score of 264

Sing Happy Birthday to your favourite programming language

Your favourite programming language has just had a birthday. Be nice and sing it the Happy Birthday song. Of course you should accomplish this by writing a program in that language. The program takes ...

code-golf string kolmogorov-complexity  
user avatar asked by David Frank Score of 127
user avatar answered by Optimizer Score of 49

Build a Compiler Bomb

Introduction You're probably familiar with zip bombs, XML bombs, etc. Put simply, they are (relatively) small files which produce enormous output when interpreted by naïve software. The challenge ...

code-challenge busy-beaver compile-time  
user avatar asked by Dave Score of 424
user avatar answered by Digital Trauma Score of 493
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, 110 William Street, 28th floor, New York, NY 10038