Played Challenges
Interweave two blocks of text - 692 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: #90 / 217
- Number of attempts: 3
attr_aligner - 3566 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 35
- Position: #583 / 710
- Number of attempts: 1
Letter case trickery - 1686 entries
This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.
- Best score: 9
- Best player score: 13
- Position: #379 / 525
- Number of attempts: 2
quotes inside quotes - 3202 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #55 / 1093
- Number of attempts: 4
Words in parens - 13053 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #131 / 3991
- Number of attempts: 6
Minimalist Limerick - 539 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 31
- Position: #9 / 177
- Number of attempts: 6
Define to require - 143 entries
When JSHint is enabled, there's a rule that doesn't let you have more than 6 arguments in a function, so the moment you need to add a 7th argument, you need to do a refactoring.
- Best score: 62
- Best player score: 92
- Position: #35 / 52
- Number of attempts: 1
Prefixes and suffixes - 668 entries
Generate all prefixes of "vimchallenge", then all suffixes.
- Best score: 17
- Best player score: 23
- Position: #59 / 207
- Number of attempts: 5
Refactor arguments into object argument - 181 entries
A relatively common Javascript refactoring.
- Best score: 48
- Best player score: 76
- Position: #53 / 69
- Number of attempts: 1
you're stuck on jQuery < 1.7 - 401 entries
replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`
- Best score: 25
- Best player score: 27
- Position: #43 / 116
- Number of attempts: 7
Numbering a List - 1969 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #198 / 661
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 7681 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 53
- Position: #1566 / 1889
- Number of attempts: 1
VimGolf