Played Challenges
From brakets to parens - 934 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 43
- Position: #163 / 216
- Number of attempts: 2
Create json from a .env file - 1525 entries
A simple everyday task.
- Best score: 39
- Best player score: 64
- Position: #204 / 357
- Number of attempts: 1
YAML to dotenv - 1482 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 23
- Position: #147 / 302
- Number of attempts: 5
Fix timezone format - 329 entries
Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`
- Best score: 15
- Best player score: 29
- Position: #105 / 106
- Number of attempts: 2
Remove adjacent duplicates - 671 entries
Try to find a way to remove adjacent duplicate letters.
- Best score: 19
- Best player score: 32
- Position: #100 / 168
- Number of attempts: 5
Rearrange array to single level - 1742 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 33
- Position: #207 / 291
- Number of attempts: 1
Copy punctuation - 688 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 53
- Position: #136 / 168
- Number of attempts: 4
Swap assigned value - 675 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 13
- Position: #235 / 260
- Number of attempts: 4
Switch function arguments - 2192 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 17
- Position: #640 / 677
- Number of attempts: 4
Append semicolon after expressions - 1065 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 15
- Position: #396 / 422
- Number of attempts: 4
VimGolf