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
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
- What Languages Are Supported?
|C||Tiny C Compiler 0.9.27|
|Haskell||Glasgow Haskell Compiler 8.4.3|
|Lisp||GNU CLISP 2.49.92|
|Perl 6||Rakudo 2019.03 on MoarVM 2019.03 implementing Perl 6.d|
If you'd like to see another language added then raise an
- 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
- 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.