Code Golf is a game designed to let you show off your code-fu by solving problems in the least number of characters. It is written in Go and is open source, patches welcome!

Frequently Asked Questions

Do I Need to Login to Play?
No. Submitted solutions will be executed and checked without logging in, but nothing will be saved and you won't appear on the leaderboards.
What Languages Are Supported?
CTiny C Compiler 0.9.27
HaskellGlasgow Haskell Compiler 8.4.3
JavaScriptV8 7.4.51
LispGNU CLISP 2.49.92
Perl 6Rakudo 2019.07.1 on MoarVM 2019.07.1 implementing Perl 6.d

If you'd like to see another language added then raise an issue.

Are Warnings Ignored?
Yes. Only STDOUT is checked against the solution, STDERR is however shown back to you to ease debugging.
How Are Arguments Passed to My Program?
Some holes pass arguments, for those your program should read them from ARGV.
How Are Solutions Scored?
The score of your solution is the count of the Unicode characters in your source code. This means both “A” (U+0041 Latin Capital Letter A) and “😉” (U+1F609 Winking Face) cost the same despite the 1:4 ratio in byte count in UTF-8.
How Is My Overall Score Computed?
For each hole, the shortest solution is awarded 1,000 points, with the points descreasing in uniform decrements per rank. Your overall score is simply the sum of your points in each hole.
Are Submissions Resource Constrained?
Yes. Execution time is limited to 5 seconds, CPU & RAM usage is unbounded but this will probably change soon.
Can I See Other People's Solutions?
Currently no, but a feature is in development to allow you to see any solution that you already beaten in score.