Played Challenges
Search and Replace 0 - 5162 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #114 / 1675
- Number of attempts: 4
Numbering a List - 1969 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 24
- Position: #481 / 661
- Number of attempts: 3
The holy-grail may help - 405 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #83 / 221
- Number of attempts: 2
Shebangs for all - 2103 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 12
- Position: #116 / 533
- Number of attempts: 4
A Simple One - 1093 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #194 / 681
- Number of attempts: 1
Ruby 1.9 compat - 664 entries
Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!
- Best score: 14
- Best player score: 14
- Position: #29 / 242
- Number of attempts: 6
The Cake is a Lie - 1418 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 9
- Position: #96 / 543
- Number of attempts: 3
Braces or Brackets? - 1209 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 41
- Position: #112 / 365
- Number of attempts: 2
Whitespace, empty lines and tabs - 4052 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 19
- Position: #207 / 865
- Number of attempts: 7
Simple text editing with Vim - 13644 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #914 / 3906
- Number of attempts: 8
Reformat/Refactor a Golfer Class - 7694 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 33
- Position: #203 / 1893
- Number of attempts: 8
VimGolf