Played Challenges
vim = 22 / 7 - 447 entries
pi square vim
- Best score: 20
- Best player score: 20
- Position: #12 / 131
- Number of attempts: 3
Swap assigned value - 600 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 10
- Position: #42 / 244
- Number of attempts: 2
Change your calendar - 352 entries
Happy New Year!
- Best score: 18
- Best player score: 23
- Position: #30 / 83
- Number of attempts: 5
Words in parens - 12824 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #1860 / 3939
- Number of attempts: 2
It's a factor - 91 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: #22 / 36
- Number of attempts: 1
Parsing with CSV: Unify lines and result. - 165 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: #38 / 73
- Number of attempts: 2
Minimalist Limerick - 514 entries
Reproduce this lovely poem.
- Best score: 31
- Best player score: 32
- Position: #37 / 170
- Number of attempts: 2
Define to require - 118 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: #11 / 48
- Number of attempts: 3
Chinese Multiplication Table - 77 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: #9 / 24
- Number of attempts: 2
Block Fun 1 - 188 entries
Manipulate the columns to produce desired result.
- Best score: 14
- Best player score: 19
- Position: #24 / 72
- Number of attempts: 3
Groups magic - 146 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: #37 / 88
- Number of attempts: 2
Refactor arguments into object argument - 160 entries
A relatively common Javascript refactoring.
- Best score: 48
- Best player score: 52
- Position: #8 / 64
- Number of attempts: 3
NATO phonetic alphabet - 498 entries
Transform the series of words into a list.
- Best score: 19
- Best player score: 19
- Position: #11 / 189
- Number of attempts: 3
Printable ASCII characters - 121 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: #17 / 41
- Number of attempts: 2
lamb had a little Mary - 570 entries
"Mary" and "lamb" are swapped. Unswap them. Fast as you can.
- Best score: 16
- Best player score: 16
- Position: #7 / 160
- Number of attempts: 7
Append semicolon after expressions - 995 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #179 / 399
- Number of attempts: 1
Compile C - 362 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 19
- Position: #8 / 131
- Number of attempts: 3
Reverse characters in a line - 701 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: #127 / 248
- Number of attempts: 4
Reformat most common surnames - 625 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 25
- Position: #54 / 194
- Number of attempts: 4
Simple text editing with Vim - 12045 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1023 / 3528
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 6369 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 32
- Position: #54 / 1572
- Number of attempts: 4
Contributed Challenges
Draw the Go board - 140 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 - 36 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'.