rako9000 / rubik-cube

Rubik's Cube solver implemented by C++ and OpenGL using Krof/Kociemba algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rubik's Cube Solver

A Rubik's Cube solver implemented by C++ and OpenGL. You can use your mouse to rotate the cube.

See HERE(in Chinese) for more details about the algorithm.

screenshot

Requirement

  • C++11 support (especially the multi-thread library)
  • OpenGL
  • GLFW

Usage

solver -tra
  • -t maximum thread number used to calculate, the default value is 1.
  • -r random twist times to generate a cube.
    • When using Krof algorithm, the default value is 15.
    • When using Krociemba algorithm, the default value is 200.
  • -a specify which algorithm will be used to solve the cube.
    • Only two algorithms are available: krof, kociemba.
    • The default algorithm is kociemba.

About

Rubik's Cube solver implemented by C++ and OpenGL using Krof/Kociemba algorithm.

License:MIT License


Languages

Language:C++ 98.8%Language:Makefile 1.2%