Questions tagged [rubiks-cube]

Rubik's Cube is a 3-D combination puzzle invented in 1974 by Hungarian sculptor and professor of architecture Ernő Rubik.

Rubik's Cube is a 3-D combination puzzle invented in 1974 by Hungarian sculptor and professor of architecture Ernő Rubik. Originally called the "Magic Cube", the puzzle was licensed by Rubik to be sold by Ideal Toy Corp. in 1980 via German businessman Tibor Laczi and Seven Towns founder Tom Kremer, and won the German Game of the Year special award for Best Puzzle that year.

Source: Wikipedia (Rubik's Cube)

128 questions
-1
votes
1 answer

How to check if there is greater than one item in a list python

I am making a code that generates a Rubik's cube scramble and I used if scramble: to see if there was anything in the list in the for loop. I am unsure of how to check if there is anything in list index > 0. The code is here (please don't judge my…
bbfav360
  • 31
  • 5
-1
votes
1 answer

Giiker cube api. Configuration from State

I am making my own android application that can help solve rubiks cube. I bought Xiaomi's Giiker Cube and have looked into the Herbert Kociemba's Two phase Algorithm. So the problem starts here. For Giiker Cube I looked into below api. But this api…
-1
votes
2 answers

Creating a child class of Rubik class called RubikRight

I have a Rubik class with the following: public class Rubik{ private int[][][] grid; protected Face[] cube; protected Face up; protected Face left; protected Face front; protected Face right; protected Face down; …
squirrel
  • 309
  • 2
  • 11
-1
votes
3 answers

Enum member not a type error

I'm making a Rubik's 2x2x2 cube simulator console app in C++ (the IDE I'm using is Code::Blocks). For now, I'm trying to implement all 6 face turns (L goes for left etc.) and the cube itself. Problem is, I'm getting an unexpected error that…
Cosmin Petolea
  • 119
  • 1
  • 10
-1
votes
1 answer

I need help to finish my 2D Rubik's Cube

I'm trying to make a basic 2D Rubik Cube 3x3 but I'm having problems with the square's colors, the problem comes when I start mixing the positions causing the colors to change not accordingly and I dont know how to fix it. Here is the code. Thank…
-1
votes
1 answer

Which programming language is good if I want to interact with motors programmatically?

I am working on making a program to solve the rubik's cube. I want to know how and which programming language should I learn so I could interact with real motors which will be used to turn the cube's sides according to algorithm.
Napstablook
  • 594
  • 1
  • 6
  • 24
-2
votes
1 answer

What is the easiest way to recognize colors from an image?

I want to make a program that solves the Rubik's cube. Basically, I want the easiest way to get an output like this: G G Y W W Y B G G From an image like this: .
-2
votes
2 answers

Rubik's Cube Prolog

I have to program a solver for a Rubik's cube 2x2x2, but i'm not getting it. I've already thought about some solutions, but not getting there Can someone help me?
zepbarros
  • 1
  • 1
1 2 3
8
9