Skip to content
Work is love made visible. - Kahlil Gibran, Poet & Writer - Andrea Iannarone, Creative Developer
Andrea Iannarone

Browser game - 2026

The Art of Speedcubing

A Rubik's cube you can actually play in the browser: 2x2 to 5x5, drag to turn a layer, timer running, no install and no account.

The Art of Speedcubing cover

Project details

Role
Concept, game engine and front-end engineering
Year
2026
Category
Browser game
In short
From 2x2 to 5x5, with a timer: no install, no account.

01The challenge

A cube on screen has no edges to feel for. Everything a hand knows from holding the real thing - which layer it grabbed, when a turn has committed, how far it still has to travel - has to be inferred from a single drag and given back visually, fast enough that the move feels like it belongs to the player rather than to the animation.

02The approach

One gesture does both jobs: drag on a face and it turns that layer, drag off the cube and it orients the whole thing. Turns snap to the nearest quarter once released, and a drag that stops halfway still completes if it was thrown with enough speed, so an imprecise gesture lands on the move the player meant. Three rotation styles change how a turn settles, because the same move can read as crisp or as heavy and people disagree on which one feels right. The scramble comes in three lengths and the field of view is adjustable, so the same cube can sit close and wide or far and flat.

03Technical notes

React mounts the interface and hands its nodes to the engine, which owns them from then on: the game loop never waits for a re-render. Everything the player accumulates lives in localStorage - the preferences, the scramble in progress with the timer where it was left, and the record of past solves with best and worst times - so closing the tab is not the same as giving up, and a reload lands back on the cube you were in the middle of. There is no backend and no account: nothing ever leaves the browser.

Previous project

cc-profiles

Next project

Caravaggio Gallery