Played Challenges
Python Hello World! Reformatting - 1011 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: 43
- Position: #143 / 387
- Number of attempts: 3
Ruby 1.9 hashes - 1277 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: #126 / 413
- Number of attempts: 2
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: #82 / 673
- Number of attempts: 2
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: 146
- Position: #110 / 146
- Number of attempts: 2
Table Reshuffle - 450 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 28
- Position: #48 / 144
- Number of attempts: 2
Reverse and count - 486 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: 29
- Position: #114 / 179
- Number of attempts: 1
Another Mixed-Up Haiku - 265 entries
VimGolf ... a perfect evening?
- Best score: 21
- Best player score: 21
- Position: #5 / 90
- Number of attempts: 3
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: 22
- Position: #217 / 237
- Number of attempts: 1
Increment, increment, increment.... - 703 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #127 / 414
- Number of attempts: 1
The Cake is a Lie - 1389 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #38 / 538
- Number of attempts: 3
Make Fancy Header - 1079 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 16
- Position: #6 / 351
- Number of attempts: 4
Reformat some Python - 635 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 47
- Position: #165 / 242
- Number of attempts: 1
Get rid of html tags - 441 entries
Want to read more about Vim's background? Then get rid of those html tags...
- Best score: 12
- Best player score: 20
- Position: #181 / 252
- Number of attempts: 4
Change the content of a string - 1750 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #12 / 639
- Number of attempts: 6
Sort and add attributes - 1557 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #17 / 601
- Number of attempts: 4
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: #804 / 3846
- Number of attempts: 8
Reformat/Refactor a Golfer Class - 7508 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 42
- Position: #983 / 1847
- Number of attempts: 1
Dmytro Shteflyuk
Twitter: @kpumuk
I'm a web developer who loves Ruby and Rails, Macs, and good TV shows. Currently working at Scribd (and very excited about it)
VimGolf