Played Challenges
Prime Numbers - 401 entries
List the first 100 prime numbers.
- Best score: 34
- Best player score: 89
- Position: #80 / 109
- Number of attempts: 3
Word Blender - 157 entries
The insides of long words seem to have been run through the blender. Can you fix this famous tale, brave knight?
- Best score: 28
- Best player score: 68
- Position: #41 / 59
- Number of attempts: 2
Python Hello World! Reformatting - 1052 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 44
- Position: #216 / 400
- Number of attempts: 2
Reformat long lines - 388 entries
Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.
- Best score: 15
- Best player score: 18
- Position: #71 / 141
- Number of attempts: 1
Ruby 1.9 hashes - 1313 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 13
- Position: #129 / 419
- Number of attempts: 3
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: 13
- Position: #177 / 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: #106 / 681
- Number of attempts: 1
Reverse and count - 501 entries
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
- Best score: 18
- Best player score: 24
- Position: #60 / 181
- Number of attempts: 3
Letters are numbers - 179 entries
Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?
- Best score: 20
- Best player score: 32
- Position: #53 / 78
- 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: 15
- Position: #88 / 242
- Number of attempts: 3
Reverse Simple Deletion - 874 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #142 / 466
- Number of attempts: 1
Increment, increment, increment.... - 709 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #163 / 417
- Number of attempts: 1
Indentation - 575 entries
Indent each line according to the right number of spaces it needs.
- Best score: 20
- Best player score: 24
- Position: #40 / 183
- Number of attempts: 3
Context Insensitive completion 1 - 533 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 18
- Position: #34 / 252
- Number of attempts: 2
Reverse characters in a line - 845 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 8
- Best player score: 14
- Position: #106 / 283
- Number of attempts: 1
Sort and add attributes - 1598 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #22 / 617
- Number of attempts: 3
Add fold markers to a .c file - 739 entries
Fold markers can make it easier to navigate source code. Add them to this .c file.
- Best score: 27
- Best player score: 49
- Position: #178 / 203
- Number of attempts: 1
VimGolf