← All workProject 02 of 05

8-Puzzle Vim

C# WinForms sliding puzzle controlled with Vim keys (H J K L), with an online leaderboard backed by Google Sheets.

Stack
C# · .NET WinForms · Google Sheets
Links

Web version of my C# game

Moves
0
Time
0.0s

Click the board, then HJKLTap a tile next to the gap

Problem

Vim’s H J K L keys take practice. I wanted a game where getting faster at the puzzle builds that muscle memory.

Approach

A Windows sliding puzzle in C#. Scrambles are always solvable, the timer starts on your first move, and there are six color themes. Scores go to an online leaderboard stored in Google Sheets, with no account needed. That’s a simple setup for a simple app.

What I’d do differently

Move the leaderboard from Google Sheets to a small API with Postgres that replays each submitted move list to confirm the puzzle was actually solved, instead of trusting the time the app reports.

Keyboard

This site moves like Vim. Keys work anywhere except while typing in a field.

Move

j
Next section (3j skips three)
k
Previous section
gg
Top of the page (3gg = section 3)
G
Bottom of the page (3G = section 3)
h
Previous project
l
Next project
Enter
Open the focused project

Find

/
Search this page
n
Next match
N
Previous match

Do

:
Command line (Tab completes)
yy
Copy this page’s URL
?
Show this keymap
Esc
Clear keys, search and messages

Commands :work :experience :education :beyond :certificates :contact :now :cv :email :github :linkedin :help :q