Skip to content

Add Rubik's cube solving hole #551

Open

Description

@Natanaelel

Add a hole given input as:

[
'   WWB      ',
'   WWG      ',
'   RRR      ',
'RRGYYYBROWGG',
'OOWBGGYROWBB', 
'OOWBGGYROWBB',
'   ROO      ',
'   YYB      ',
'   YYG      '
]

return:

"F R' U2"

or any other sequence that would solve the cube
cube.js

Activity

  1. luni-moon commented on Dec 23, 2022

    @luni-moon

    I agree, as a fellow cuber ;)

  2. ericlangedijk commented on May 24, 2023

    @ericlangedijk

    Quite an insane task. I like it very much (another fellow cuber)

  3. Adix-null commented on Jul 30, 2023

    @Adix-null

    Unless the solution is a couple moves long I doubt every language would be fast enough to solve it in under 5s (yet another fellow cuber)

  4. luni-moon commented on Aug 22, 2023

    @luni-moon

    Unless the solution is a couple moves long I doubt every language would be fast enough to solve it in under 5s (yet another fellow cuber)

    hahaha

  5. ericlangedijk commented on Oct 2, 2023

    @ericlangedijk

    I am programming on the cube. It is possible to solve it very fast but you need lots of memory and too much code to be interesting for codegolf I believe.
    I think a better idea would be for codegolf to start with a clean cube and output the result cube (comparable with the sudoku puzzles in codegolf) for any given sequence - which can contain all 54 or an arbitrary subset of moves:
    -the base moves (18x)
    -the slice moves (9x)
    -the wide moves(18x)
    -the rotations(9x)

  6. Natanaelel commented on Oct 2, 2023

    @Natanaelel
    ContributorAuthor

    An Important detail: The solution does not have to be the shortest possible. It can be 100 moves, as long as it solves the cube.

    I think a better idea would be for codegolf to start with a clean cube and output the result cube (comparable with the sudoku puzzles in codegolf) for any given sequence

    That is also a good idea.

  7. added
    hole-idea
    on Oct 9, 2025
  8. JOrE20 commented on Dec 12, 2025

    @JOrE20
    Contributor

    This is difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hole-ideaidea

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions