Played Challenges
Search and Replace 0 - 5042 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #114 / 1643
- Number of attempts: 4
Numbering a List - 1941 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 24
- Position: #478 / 657
- Number of attempts: 3
The holy-grail may help - 391 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #83 / 216
- Number of attempts: 2
Shebangs for all - 2062 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: #114 / 525
- Number of attempts: 4
A Simple One - 1070 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 / 673
- Number of attempts: 1
Ruby 1.9 compat - 642 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 / 237
- Number of attempts: 6
The Cake is a Lie - 1389 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #95 / 538
- Number of attempts: 3
Braces or Brackets? - 1140 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: #107 / 349
- Number of attempts: 2
Whitespace, empty lines and tabs - 3949 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 19
- Position: #201 / 841
- Number of attempts: 7
Simple text editing with Vim - 13419 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #900 / 3846
- Number of attempts: 8
Reformat/Refactor a Golfer Class - 7509 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 33
- Position: #194 / 1848
- Number of attempts: 8
VimGolf