← All workProject 05 of 05

JSN Cube Simulator

2D 3×3×3 Rubik’s cube simulator in C# WinForms, built from scratch without help.

Stack
C# · .NET WinForms
Links

Problem

I’ve solved Rubik’s cubes for years. I wanted to model one in code.

Approach

A 2D simulator of a standard 3×3×3 cube in C# WinForms, built from scratch without help.

What I’d do differently

Add standard move notation (R U R′ U′), so you can type a scramble or algorithm instead of clicking each move.

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