Skip to content

Online solver for Rubik's cube cross, xcross, free pair, last layer. Pseudo F2L solver and EOCross solver also available.

License

Notifications You must be signed in to change notification settings

or18/RubiksSolverDemo

Repository files navigation

RubiksSolverDemo

Online solver for Rubik's cube cross, xcross, free pair, last layer. Pseudo F2L solver and EOCross solver also available.

Solver URL
Old version

Also, the following trainers are available.

Solver Overview

This is an online solver for speedcubers that uses specific methods such as CFOP and ZZ. It is designed to perform solution searches for techniques like cross, XCross, and EOCross. Additionally, it supports the search for some algorithms for the last layer.

Basic Functions and Notes

  • The following 13 solvers are currently available.

    • F2L Lite: Lite solver for cross, XCross, XXCross, XXXCross, and XXXXCross. Analyzer available.

    • Pairing: Lite solver for a free pair. Analyzer available.

    • Pseudo F2L Lite: Lite solver for pseudo cross, XCross, XXCross, and XXXCross. Analyzer available.

    • Pseudo Pairing: Lite solver for a pseudo free pair. Analyzer available.

    • EOCross: Lite solver for EOCross, XEOCross, XXEOCross, XXXEOCross, and XXXXEOCross. Analyzer available.

    • LL Substeps Lite: Lite solver for last layer CP, CO, EP, and EO

    • LL Lite: Lite solver for last layer

    • LL AUF Lite: Lite solver for last layer and AUF

    • Two Phase: Two Phase solver using min2phase.js

    • F2L: Solver for cross, XCross, XXCross, XXXCross, and XXXXCross. Recommended for use with PC. Analyzer available.

    • LL Substeps: Solver for last layer CP, CO, EP, and EO. Recommended for use with PC.

    • LL: Solver for last layer. Recommended for use with PC.

    • LL AUF: Solver for last layer and AUF. Recommended for use with PC.

  • The last four solver, F2L, LL Substeps, LL, and LL AUF, can search much faster than their corresponding lite solver, but they require more memory and take longer to set up.

  • Some solvers come with an analyzer that solves for each pattern one at a time and displays the shortest number of moves in HTM in a table. The numbered cells in this table act as buttons to start the search with that condition. You can click the header to sort the table by its columns. Also, you can select the faces to analyze from U, D, L, R, F, and B.

  • The following table shows the memory requirements for each solver. If memory is insufficient, the web page may crash (resulting in a forced reload). However, as mentioned below, it is possible to recover the page using the query parameter.

    Solver Single Search Analyzer
    F2L Lite 100 MB 100 MB
    Pairing 100 MB 200 MB
    Pseudo F2L Lite 100 MB 100 MB
    Pseudo Pairing 100 MB 400 MB
    EOCross 200 MB 200 MB
    LL Substeps Lite 100 MB -
    LL Lite 100 MB -
    LL AUF Lite 100 MB -
    F2L 1.6 GB 100 MB
    LL Substeps 1.6 GB -
    LL 1.6 GB -
    LL AUF 1.6 GB -
  • The scramble is saved in a temporary array each time Scramble is edited. You can navigate to the previous or next input in the history by pressing the [⬅️] or [➡️] button. If there is no previous or next history, the corresponding button will not appear.

  • Pressing the [Reverse] button reverses the alg of each row and sorts them in reverse order.

  • Pressing the [Mirror] button mirrors the alg of each row.

  • Pressing the [Random] button generates a random scramble using min2phase.js. The generated scramble is automatically annotated with the comment by "// setup".

  • After configuring the appropriate settings, you can start the search by pressing the [Start] button. While the search is in progress, the [Start] button will change to an [End] button, which you can press to stop the search.

  • Each time a solution is found, a Details section will be created that includes an [Add] button, a Twisty Player, and various links, with the output being updated in real time. By pressing the [Add] button, you can add the solution to the Scramble.

  • Whenever the input fields are updated, the query parameters will also be updated. If a search is performed, the first solution will be added to the query parameters.

  • In rare cases, functions exported by Emscripten may not be initialized properly (especially on mobile devices). In such cases, a warning will be displayed, and you will be prompted to reload the page manually.


Input Description

  • Scramble: This describes the state of a Rubik's Cube using standard notations, and comments can also be added.

    • The following Rubik's Cube notations are available:

      • Face Turns:

        • U U2 U2' U'
        • D D2 D2' D'
        • L L2 L2' L'
        • R R2 R2' R'
        • F F2 F2' F'
        • B B2 B2' B'
      • Wide Moves:

        • u u2 u2' u' Uw Uw2 Uw2' Uw'
        • d d2 d2' d' Dw Dw2 Dw2' Dw'
        • l l2 l2' l' Lw Lw2 Lw2' Lw'
        • r r2 r2' r' Rw Rw2 Rw2' Rw'
        • f f2 f2' f' Fw Fw2 Fw2' Fw'
        • b b2 b2' b' Bw Bw2 Bw2' Bw'
      • Slice Moves:

        • M M2 M2' M'
        • E E2 E2' E'
        • S S2 S2' S'
      • Rotations:

        • x x2 x2' x'
        • y y2 y2' y'
        • z z2 z2' z'
    • Comments can be written using "//". It is recommended to place "// setup" comments on the appropriate line. When viewing on alg.cubing.net or cubedb.net, the line with "// setup" and above will be included in the Setup or Scramble section, while the lines below will be included in the Moves section.

  • Rotation: Select a rotation alg before starting the search.

  • Slot: Select F2L slots from BL (Back Left), BR (Back Right), FR (Front Right), and FL (Front Left). If none of the four slots are selected, meaning None is chosen, it will function as cross solver.

  • Free Pair: Select a slot for solving the free pair from the slots other than the one selected in the Slot.

  • Pseudo Slot Edge: Select slot edges from BL, BR, FR, and FL. If none of the four slots are selected, meaning None is chosen, it will function as a pseudo cross solver, which solves cross when D face misalignment is allowed.

  • Pseudo Slot Corner: Select slot edges from BL, BR, FR, and FL. Dropbox for this will appear when anything other than None is selected for Pseudo Slot Edge.

  • Free Pair Edge: Select a pseudo slot edge for solving the pseudo free pair from the slots other than the one selected in the Pseudo Slot Edge.

  • Free Pair Corner: Select a pseudo slot corner for solving the pseudo free pair from the slots other than the one selected in the Pseudo Slot Corner.

  • Last Layer Option: Select from CP, CO, EP, and EO. If none of these options are selected, meaning None is chosen, it will function as XXXXCross solver.

  • Max Length: The maximum number of moves in HTM for the solution to be searched.

  • Max Count: The maximum number of solutions to be searched.

  • Move restrict: Restrictions on the moves used in the search. For example, if URF is selected, the allowed moves are restricted to U U2 U' R R2 R' F F2 F'.


Solver Descriptions and Examples

F2L Lite

A set of solvers for Rubik's Cube cross, XCross, XXCross, XXXCross, and XXXXCross. It is used to search solutions for cross, XCross, F2L, multi-slotting, and more. The F2L solver can perform the same search. Here are some examples.

Pairing

A set of solvers for a free pair. It is used to search solutions for cross with a free pair, advanced F2L setup, and more. Here are some examples.

Pseudo F2L Lite

A set of solvers for pseudo cross, XCross, XXCross, and XXXCross. It is used to search solutions for pseudo XCross, pseudo slotting, and more. Here are some examples.

Pseudo Pairing

A set of solvers for a pseudo free pair. It is used to search solutions for pseudo cross with a pseudo free pair, some advanced pseudo slotting, and more. Here are some examples.

  • Search solutions for pseudo cross with a pseudo free pair. [See on the website]

  • Search solutions for 3rd pseudo slot and last pseudo pair, setting Move Restrict to UDR. [See on the website]

EOCross

A set of solvers for EOcross, XEOcross, XXEOcross, XXXEOcross, and XXXXEOCross. Here are some examples.

LL Substeps Lite

A solver for last layer CP, CO, EP, and EO. It is used to search solutions for OLL, COLL, ZBLS, and more. The LL Substeps solver can perform the same search.

LL Lite

A solver for last layer. Note that AUF can remain. It is used to search solutions for PLL, 2GLL, ZBLL, 1LLL, and more Here are some examples. The LL solver can perform the same search.

LL AUF Lite

A solver for last layer and AUF. The LL AUF solver can perform the same search. It is recommended to use LL Lite or LL solver.

Trainers Overview

Random pattern generator based on min2phase.js and a full pruning table.

  • The following 6 trainers are currently available.
  • Pressing the [Next] button generates the next scramble.
  • During the initial scramble generation, a pruning table and a pattern table are created, allowing for fast scramble generation in subsequent uses by reusing these tables.
  • Scrambles can be generated by specifying parameters such as rotation, slot, and length of solution. A sticker mask for rendering is generated based on the input parameters.
  • Each trainer comes with a corresponding solver, and you can instantly check the solution by pressing the [Solve] button.

Summarize the number of patterns that can be solved with a specific number of moves (in HTM) for each trainer.

  • Cross
HTM Number of Patterns Percentage
0 1 0.00
1 15 0.01
2 158 0.08
3 1394 0.73
4 9809 5.16
5 46381 24.40
6 97254 51.16
7 34966 18.40
8 102 0.05

  • XCross
HTM Number of Patterns Percentage
0 1 0.00
1 15 0.00
2 172 0.00
3 1950 0.00
4 21535 0.03
5 220368 0.30
6 1989591 2.73
7 13431990 18.40
8 40963892 56.12
9 16325184 22.37
10 36022 0.05

  • Free Pair
HTM Number of Patterns Percentage
0 17 0.00
1 255 0.00
2 3102 0.00
3 35217 0.05
4 367070 0.50
5 3184390 4.36
6 18621816 25.51
7 41028188 56.21
8 9746797 13.35
9 3868 0.01

  • Pseudo XCross
HTM Number of Patterns Percentage
0 4 0.00
1 48 0.00
2 568 0.00
3 6556 0.01
4 70495 0.10
5 693185 0.95
6 5618257 7.70
7 27845257 38.15
8 36570024 50.10
9 2186315 3.00
10 11 0.00

  • Pseudo Free Pair
HTM Number of Patterns Percentage
0 68 0.00
1 816 0.00
2 9256 0.01
3 103681 0.14
4 1012687 1.39
5 7689281 10.53
6 32089788 43.96
7 30868369 42.29
8 1216774 1.67

  • EOCross
HTM Number of Patterns Percentage
0 1 0.00
1 15 0.00
2 178 0.00
3 1982 0.01
4 21041 0.09
5 204732 0.84
6 1645039 6.76
7 8477633 34.84
8 12917628 53.09
9 1061851 4.36
10 140 0.00

About

Online solver for Rubik's cube cross, xcross, free pair, last layer. Pseudo F2L solver and EOCross solver also available.

Topics

Resources

License

Stars

Watchers

Forks