Skip to content

cube-lab

3D Rubik's Cube app where local planners simulate candidate move sequences and Jev picks one at each of seven solving stages.

Appprototype

Overview

Cube Lab is an interactive 3D Rubik's Cube web app, documented in Chinese, that solves the cube with the seven-step beginner method. For each stage, local planners such as a reverse breadth-first search over the relevant pieces generate candidate formulas, simulate them, and keep only those that preserve completed work. Jev then chooses which candidate to execute, or chooses to pause.

It includes real recorded turning sounds, animations, a timer, local saving and a one-click mode that runs all remaining stages. In one-click mode, if Jev pauses, returns an invalid candidate or a malformed response, the executor falls back to a locally simulated safe candidate ranked by progress and move count. Every actual turn is checked against an independent simulation. Deployment options include Netlify with a same-origin Jev proxy function or a ModelScope Docker Studio.

What the decision model decides

TypeQuestionAnswers
ChoiceWhich simulated candidate formula should be executed for this stage (or pause)?(inferred)—

How it works

  1. Read the real sticker state of the cube
  2. Local planner generates and simulates candidate formulas
  3. Jev selects a candidate or pause
  4. Execute with animation and verify; fall back to the best safe local candidate on invalid output

Strengths

  • Jev only picks among pre-verified candidates
  • Deterministic fallback keeps solving on errors
  • Every move checked against a simulation

Caveats

  • Jev adds little beyond choosing among already-valid plans
  • Documentation is in Chinese
  • Requires a Jev API key

Getting started

Run node server.js (Node.js 18+), open the local page, and enter a Jev API key under AI settings.

At a glance

Type
App
Status
prototype
Language
JavaScript
Runtime
browser + Node server
Has code
yes

Use cases and integrations

How curated lists describe it

  • Cube Lab is an interactive 3D Rubik's Cube app that generates candidate solutions with local planners and uses Jev to select moves across seven solving stages with animations and recorded turning sounds.

    logicrw/awesome-jev-projects

Frequently asked questions

Does Jev solve the cube itself?

No, local planners generate verified candidates and Jev chooses among them.

What if Jev returns something invalid?

In one-click mode the executor falls back to a locally simulated safe candidate.

How do I run it?

node server.js with Node 18+, then enter your Jev key in settings.

Related projects

  • Source for browser chess and Chess960 where code computes each legal move's facts and Jev picks one per turn as a typed Choice.

    ProjectproductionTypeScript
  • Browser 1v1 sniper arena where Jev reads match state about 9 times a second and chooses movement, aim, ADS, firing and jumping.

    ServicebetaTypeScript
  • Instrumented 2048 web lab where every move is a Jev Choice over four directions, with probabilities, latency and cost shown live.

    ProjectbetaTypeScript
  • Fifteen live arcade games where Jev and LLMs play each other, led by WikiRace in which Jev picks only real links.

    ProjectbetaTypeScript
  • Real-time bot battles where you write a fighter's strategy in plain English and a System One model pilots it several times a second.

    ProjectbetaTypeScript
  • Browser extension that lets Jev, local Laya or an OpenAI-compatible model take over a running ra2web (WannaFire) RTS match.

    ProjectbetaTypeScript