Played Challenges
Filling braces - 365 entries
Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.
- Best score: 24
- Best player score: 24
- Position: #17 / 120
- Number of attempts: 8
Even and Odd - 342 entries
separate the even numbers from the odd numbers
- Best score: 13
- Best player score: 14
- Position: #25 / 80
- Number of attempts: 5
Modifying .XCompose - 95 entries
You just wrote some lines in .XCompose, but now you want the compose sequences to be more verbose. Change the compose sequence for each Greek letter to its name.
- Best score: 33
- Best player score: 35
- Position: #15 / 24
- Number of attempts: 6
hexagram binary tree - 127 entries
generate the binary tree that represents all possible hexagrams found in the book of changes (易经)
- Best score: 23
- Best player score: 23
- Position: #1 / 29
- Number of attempts: 3
Swap function parameters and delete all comments in python. - 1012 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 19
- Position: #54 / 247
- Number of attempts: 3
Delete the last function argument in python. - 699 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #135 / 249
- Number of attempts: 1
Flip All Bits - 484 entries
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
- Best score: 24
- Best player score: 28
- Position: #12 / 136
- Number of attempts: 11
Find the devices that have no revoked time, and extract out the duration left on their leases. - 246 entries
Extract non-revoked devices and the duration of their leases.
- Best score: 50
- Best player score: 54
- Position: #9 / 59
- Number of attempts: 7
Convert list of enums to list of localization terms - 252 entries
While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.
- Best score: 75
- Best player score: 85
- Position: #2 / 73
- Number of attempts: 13
From brakets to parens - 1329 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: 25
- Position: #67 / 302
- Number of attempts: 4
π - 337 entries
1200 π chars
- Best score: 16
- Best player score: 17
- Position: #37 / 82
- Number of attempts: 4
Create json from a .env file - 1737 entries
A simple everyday task.
- Best score: 38
- Best player score: 39
- Position: #41 / 421
- Number of attempts: 8
VimGolf