Played Challenges
Word Blender - 148 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: 34
- Position: #8 / 57
- Number of attempts: 4
Wrap the text of an email message to 79 characters - 795 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #14 / 417
- Number of attempts: 1
Search and Replace 0 - 4999 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #63 / 1628
- Number of attempts: 2
Interweave two blocks of text - 659 entries
Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?
- Best score: 15
- Best player score: 17
- Position: #113 / 214
- Number of attempts: 1
Python Hello World! Reformatting - 996 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: 42
- Position: #92 / 381
- Number of attempts: 4
Cartesian product - 257 entries
{1,2,3,4,5} X {1,2,3,4,5}
- Best score: 24
- Best player score: 26
- Position: #12 / 96
- Number of attempts: 4
Replacing some words - 428 entries
How fast could it be?
- Best score: 17
- Best player score: 21
- Position: #67 / 151
- Number of attempts: 1
Multiplication table. - 232 entries
Create a multiplication table.
- Best score: 31
- Best player score: 52
- Position: #23 / 68
- Number of attempts: 6
Here, piggy, piggy... - 80 entries
Youay owknay atwhay otay oday...
- Best score: 68
- Best player score: 77
- Position: #10 / 23
- Number of attempts: 12
Happy New Year! - 145 entries
This is a simple new year's challenge.
- Best score: 22
- Best player score: 24
- Position: #8 / 59
- Number of attempts: 4
Generate Fibonacci Numbers - 280 entries
Use your super vim powers to generate Fibonacci Numbers.
- Best score: 19
- Best player score: 20
- Position: #32 / 100
- Number of attempts: 3
It'ss tooo coold too typpe todaay - 224 entries
My hands are numb with cold. It's hard to type correctly.
- Best score: 16
- Best player score: 17
- Position: #18 / 98
- Number of attempts: 3
Rotating Philosophers Problem - 410 entries
Can you help the philosophers find a good place to sit before they get five forks and spaghetti?
- Best score: 29
- Best player score: 29
- Position: #7 / 166
- Number of attempts: 3
Reformat long lines - 361 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: 17
- Position: #51 / 135
- Number of attempts: 2
Generate English Alphabets - 487 entries
Start with a, get up to z.
- Best score: 19
- Best player score: 24
- Position: #29 / 206
- Number of attempts: 3
Overall Vimgolf Rank - 216 entries
Suppose you are trying to figure out what your overall rank is at Vimgolf(the sum of all the ranks you got), and as a Vim ninja you decided to use Vim to do the job. Your solution should work for every Vimgolf profile page(The actual input file for this challenge is my Vimgolf profile page). So, direct answer insertion is considered cheating.
- Best score: 21
- Best player score: 24
- Position: #11 / 59
- Number of attempts: 2
Insert a Markdown link - 450 entries
Put a link in a markdown document, using the after-the-paragraph format.
- Best score: 22
- Best player score: 23
- Position: #16 / 149
- Number of attempts: 4
Numbering a List - 1932 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #217 / 653
- Number of attempts: 2
The Universal Declaration of Human Rights, Article 1 - 163 entries
Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)
- Best score: 24
- Best player score: 24
- Position: #6 / 71
- Number of attempts: 2
Solve the Sokoban - 177 entries
A wink for all Vimgolfers that play Nethack too.
- Best score: 25
- Best player score: 30
- Position: #21 / 74
- Number of attempts: 1
The holy-grail may help - 372 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #52 / 211
- Number of attempts: 1
Ruby 1.9 hashes - 1249 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: 12
- Position: #5 / 407
- Number of attempts: 3
Assignment Alignment - 883 entries
line up the operators. Use spaces, not tabs.
- Best score: 18
- Best player score: 18
- Position: #3 / 220
- Number of attempts: 5
Shebangs for all - 2010 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: #95 / 517
- Number of attempts: 3
82 bottles of beer on the wall - 313 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 109
- Position: #12 / 146
- Number of attempts: 9
Another Mixed-Up Haiku - 265 entries
VimGolf ... a perfect evening?
- Best score: 21
- Best player score: 21
- Position: #9 / 90
- Number of attempts: 4
Reverse Simple Deletion - 854 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #141 / 460
- Number of attempts: 1
Increment, increment, increment.... - 692 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #159 / 410
- Number of attempts: 1
Turn this csv list into queries - 252 entries
Transform each line of this csv file into a MySQL-ready INSERT query.
- Best score: 98
- Best player score: 103
- Position: #13 / 101
- Number of attempts: 2
The Cake is a Lie - 1354 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #73 / 529
- Number of attempts: 2
Context insensitive completion 0 - 583 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 7
- Position: #33 / 247
- Number of attempts: 2
Almost encrypted - 204 entries
Convert the first paragraph to be even less readable.
- Best score: 5
- Best player score: 5
- Position: #35 / 146
- Number of attempts: 1
Make Fancy Header - 1059 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 16
- Position: #27 / 345
- Number of attempts: 2
Linear congruential generator - 142 entries
http://en.wikipedia.org/wiki/Linear_congruential_generator
- Best score: 28
- Best player score: 30
- Position: #10 / 53
- Number of attempts: 4
Reformat some Python - 617 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 34
- Position: #2 / 237
- Number of attempts: 8
PEP8 Python Wrapping Comments and Code - 210 entries
According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max
- Best score: 21
- Best player score: 26
- Position: #16 / 67
- Number of attempts: 3
Reformat most common surnames - 740 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 25
- Position: #40 / 214
- Number of attempts: 2
Remember FizzBuzz? - 738 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 55
- Position: #59 / 193
- Number of attempts: 1
Get rid of html tags - 406 entries
Want to read more about Vim's background? Then get rid of those html tags...
- Best score: 12
- Best player score: 17
- Position: #58 / 235
- Number of attempts: 1
Change the content of a string - 1588 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #25 / 592
- Number of attempts: 2
Sort and add attributes - 1473 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #27 / 572
- Number of attempts: 2
Reconstruct the Sentence - 1554 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 19
- Best player score: 20
- Position: #8 / 420
- Number of attempts: 2
Whitespace, empty lines and tabs - 3691 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #255 / 794
- Number of attempts: 3
Flodder-challenge - 1282 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 28
- Position: #43 / 340
- Number of attempts: 4
Simple text editing with Vim - 12883 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #795 / 3713
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 7033 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 34
- Position: #276 / 1726
- Number of attempts: 8