Played Challenges
vim = 22 / 7 - 475 entries
pi square vim
- Best score: 20
- Best player score: 20
- Position: #12 / 135
- Number of attempts: 3
Swap assigned value - 647 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 10
- Position: #42 / 254
- Number of attempts: 2
Change your calendar - 392 entries
Happy New Year!
- Best score: 18
- Best player score: 23
- Position: #32 / 87
- Number of attempts: 5
Words in parens - 12939 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #1877 / 3964
- Number of attempts: 2
It's a factor - 104 entries
Flaunt your macro prowess by factoring some numbers. Too hard? It takes less than 30 strokes, I promise.
- Best score: 24
- Best player score: 88
- Position: #23 / 38
- Number of attempts: 1
Parsing with CSV: Unify lines and result. - 179 entries
col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?
- Best score: 21
- Best player score: 22
- Position: #40 / 77
- Number of attempts: 2
Minimalist Limerick - 520 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 32
- Position: #38 / 174
- Number of attempts: 2
Define to require - 127 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: 65
- Position: #12 / 50
- Number of attempts: 3
Chinese Multiplication Table - 81 entries
Print a Chinese multiplication table in Vim. In China, every kid is asked to memorize this table. And thanks to the mono-syllabism of Chinese characters, it is not that hard. Printing the multiplication table is also a good exercise for programming beginners. For-loop, escaped characters, etc... There should be some special ways to print it in Vim.
- Best score: 39
- Best player score: 66
- Position: #10 / 26
- Number of attempts: 2
Block Fun 1 - 210 entries
Manipulate the columns to produce desired result.
- Best score: 14
- Best player score: 19
- Position: #26 / 75
- Number of attempts: 3
Groups magic - 158 entries
Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()
- Best score: 13
- Best player score: 14
- Position: #39 / 93
- Number of attempts: 2
Refactor arguments into object argument - 166 entries
A relatively common Javascript refactoring.
- Best score: 48
- Best player score: 52
- Position: #10 / 68
- Number of attempts: 3
NATO phonetic alphabet - 529 entries
Transform the series of words into a list.
- Best score: 19
- Best player score: 19
- Position: #11 / 196
- Number of attempts: 3
Printable ASCII characters - 142 entries
From a blank input, print all 95 printing ASCII characters one per line, from space to tilde.
- Best score: 22
- Best player score: 32
- Position: #18 / 44
- Number of attempts: 2
lamb had a little Mary - 609 entries
"Mary" and "lamb" are swapped. Unswap them. Fast as you can.
- Best score: 16
- Best player score: 16
- Position: #7 / 168
- Number of attempts: 7
Append semicolon after expressions - 1056 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #186 / 419
- Number of attempts: 1
Compile C - 430 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 19
- Position: #8 / 141
- Number of attempts: 3
Reverse characters in a line - 771 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 12
- Best player score: 15
- Position: #137 / 265
- Number of attempts: 4
Reformat most common surnames - 717 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 25
- Position: #61 / 210
- Number of attempts: 4
Simple text editing with Vim - 12815 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1064 / 3696
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 6984 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 32
- Position: #55 / 1708
- Number of attempts: 4
Contributed Challenges
Draw the Go board - 149 entries
which is a 19×19 lines board. Here we use ascii characters only for simplicity. See diff file to get a sense. (See also http://en.wikipedia.org/wiki/Go_(game))
Change The Perspective - 38 entries
This is a go game recodes file(.sgf file, refer to http://www.red-bean.com/sgf/). It base on such a coordinate system: in vertical direction, is from top(farthest end) to bottom, mark as a,b,c,...,s(19*19 board); in horizontal direction, is from left to right, uses the same notations. For Example, the coordinate notation 'cq', is the position at the bottom-left corner(vertical coordinate first). The record is from one player's perspective. We need to change to another's, but we don't want to change coordinate system, let it keep top to bottom and left to right. so we have to change the coordinates, a <-> s, b <-> r,c <-> q, etc. the Position 'cq', as transformation, it will be 'qd'.