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.
Which Languages Are Supported?
Currently Bash, Haskell, J, JavaScript, Julia, Lisp, Lua, Perl, Perl 6, PHP, Python, and Ruby. If you'd like to see another language added then raise an issue.
What Version Is Each Language At?
Code Golf ties to track upstream closely, manually amending solutions if they cease to work on newer versions, the current version matrix is as follows:

Bash4.4.18
HaskellGlasgow Haskell Compiler 8.4.3
J8.07.07
JavaScriptV8 7.0.272
Julia1.0.0
LispGNU CLISP 2.49.92
Lua5.3.5
Perl5.28.0
Perl 6Rakudo 2018.09 on MoarVM 2018.09 implementing Perl 6.c
PHP7.2.11
Python3.7.0
Ruby2.5.1
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 sum of the UTF-8 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.
How Is My Overall Score Computed?
For each hole, the shortest solution is awarded 100 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.