Played Challenges
Filling braces - 453 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: #6 / 147
- Number of attempts: 5
Even and Odd - 383 entries
separate the even numbers from the odd numbers
- Best score: 13
- Best player score: 39
- Position: #85 / 98
- Number of attempts: 3
Modifying .XCompose - 98 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: 39
- Position: #22 / 26
- Number of attempts: 7
hexagram binary tree - 128 entries
generate the binary tree that represents all possible hexagrams found in the book of changes (易经)
- Best score: 23
- Best player score: 25
- Position: #8 / 30
- Number of attempts: 11
Swap function parameters and delete all comments in python. - 1051 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 19
- Position: #55 / 256
- Number of attempts: 8
Delete the last function argument in python. - 714 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 7
- Position: #184 / 255
- Number of attempts: 2
Flip All Bits - 494 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: 26
- Position: #11 / 142
- Number of attempts: 12
Find the devices that have no revoked time, and extract out the duration left on their leases. - 255 entries
Extract non-revoked devices and the duration of their leases.
- Best score: 49
- Best player score: 68
- Position: #29 / 60
- Number of attempts: 3
Convert list of enums to list of localization terms - 262 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: 86
- Position: #12 / 74
- Number of attempts: 6
π - 337 entries
1200 π chars
- Best score: 16
- Best player score: 16
- Position: #4 / 82
- Number of attempts: 5
Create json from a .env file - 1767 entries
A simple everyday task.
- Best score: 38
- Best player score: 39
- Position: #18 / 429
- Number of attempts: 15
Reordering properties - 1385 entries
Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.
- Best score: 24
- Best player score: 24
- Position: #8 / 302
- Number of attempts: 20
Sort and Tag - 737 entries
The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.
- Best score: 36
- Best player score: 36
- Position: #13 / 156
- Number of attempts: 15
Changing date formats - 774 entries
Change the date format to Y/M/D.
- Best score: 36
- Best player score: 37
- Position: #7 / 213
- Number of attempts: 19
YAML to dotenv - 1654 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 16
- Position: #42 / 347
- Number of attempts: 13
Change to ascending order - 561 entries
Change each line of numbers consistently from descending to ascending order.
- Best score: 17
- Best player score: 18
- Position: #21 / 137
- Number of attempts: 10
Swap columns and transform to CSV format - 516 entries
Turn this spreadsheet output into a CSV file but first swap the columns
- Best score: 16
- Best player score: 17
- Position: #60 / 184
- Number of attempts: 6
Generate an entry for each month - 398 entries
The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years
- Best score: 27
- Best player score: 32
- Position: #15 / 102
- Number of attempts: 17
Fix the git merge conflicts - 394 entries
Solve the merge conflicts in the Python file
- Best score: 36
- Best player score: 37
- Position: #6 / 111
- Number of attempts: 12
Nested JSON Flattener - 137 entries
Transform a deeply nested JSON structure into a flattened key-value format where each path is represented by dot notation
- Best score: 44
- Best player score: 56
- Position: #11 / 32
- Number of attempts: 10
The Fibonacci Spacer - 175 entries
Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)
- Best score: 14
- Best player score: 25
- Position: #9 / 54
- Number of attempts: 13
Replace markdown sections with numbering - 347 entries
Replace each section and subsection with their respective numbers
- Best score: 29
- Best player score: 30
- Position: #9 / 92
- Number of attempts: 9
Fix the Scala Method - 379 entries
Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.
- Best score: 2
- Best player score: 22
- Position: #39 / 126
- Number of attempts: 1
Change class fields from camel case to snake case - 678 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 18
- Position: #35 / 160
- Number of attempts: 6
Change class fields from snake case to camel case - 336 entries
Change the class fields in this Scala class from snake case to camel case
- Best score: 13
- Best player score: 13
- Position: #59 / 127
- Number of attempts: 4
Reorganize Pokémon - 898 entries
Change the format of the each line and sort alphabetically.
- Best score: 18
- Best player score: 30
- Position: #216 / 250
- Number of attempts: 1
Replace csv column if it's not empty - 314 entries
Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched
- Best score: 15
- Best player score: 15
- Position: #34 / 102
- Number of attempts: 6
Convert plain text into a markdown table - 117 entries
Convert the table to markdown to make it more usable
- Best score: 56
- Best player score: 59
- Position: #10 / 35
- Number of attempts: 3
Change readonly files - 139 entries
Try to write a file that was marked as read-only.
- Best score: 17
- Best player score: 21
- Position: #17 / 38
- Number of attempts: 6
extract struct tag in go - 174 entries
Can you extract all struct tags in the fewest keystrokes possible?
- Best score: 29
- Best player score: 42
- Position: #24 / 51
- Number of attempts: 7
CaN yOuR ViM dO ThAt? #2 - 117 entries
Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s
- Best score: 49
- Best player score: 49
- Position: #8 / 31
- Number of attempts: 11
CaN yOuR ViM dO ThAt? #1 - 309 entries
Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091
- Best score: 41
- Best player score: 42
- Position: #32 / 123
- Number of attempts: 4
Append leading hyphen count to each line - 157 entries
Append the number of leading hyphens to the end of each line.
- Best score: 23
- Best player score: 24
- Position: #14 / 43
- Number of attempts: 6
Move list of uuids into a SQL query - 254 entries
Take the list of UUIDs and use them as a filter in the where statement of a SQL query
- Best score: 57
- Best player score: 60
- Position: #11 / 83
- Number of attempts: 9
Markdown Blog Editing - 488 entries
Convert the given link text in start file to a markdown link list.
- Best score: 30
- Best player score: 31
- Position: #19 / 119
- Number of attempts: 6
Word completion - 329 entries
Try to complete these options within 20 keystrokes.
- Best score: 20
- Best player score: 20
- Position: #14 / 87
- Number of attempts: 1
Fix timezone format - 385 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: 15
- Position: #21 / 126
- Number of attempts: 7
Search different SQL column with similar where clause - 363 entries
Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.
- Best score: 22
- Best player score: 23
- Position: #29 / 87
- Number of attempts: 5
Remove adjacent duplicates - 731 entries
Try to find a way to remove adjacent duplicate letters.
- Best score: 19
- Best player score: 20
- Position: #39 / 186
- Number of attempts: 5
Move to corresponding lines - 335 entries
Move the values to the corresponding lines.
- Best score: 16
- Best player score: 17
- Position: #6 / 77
- Number of attempts: 6
Rearrange array to single level - 1832 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 24
- Position: #137 / 308
- Number of attempts: 6
Rearrange array to one line - 907 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 13
- Position: #26 / 209
- Number of attempts: 13
Copy punctuation - 759 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 19
- Position: #17 / 188
- Number of attempts: 11
Change LaTex itemizations formats - 148 entries
Inspired by the way my professor formats their LaTeX assignments.
- Best score: 43
- Best player score: 43
- Position: #6 / 27
- Number of attempts: 5
VimGolf