Menu

Tree [55a817] master /
 History

HTTPS access


File Date Author Commit
 Lib 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 Rubik_Engine 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 Rubik_Resolution_BFS 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 Rubik_Resolution_DFS 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 Test_Rubik_Engine 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 Test_Rubik_Resolution 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 .directory 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 LICENSE 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit
 README.md 2025-08-04 Husky Ducky Husky Ducky [55a817] Initial commit

Read Me

RubikEngine

Rubik_Engine simulate a Rubik Cube

compiled on gcc 9.3

Cube commands

Scanning a real cube

Rubik_Engine::scan -> scan a cube's face

Rubik_Engine::commit -> update the cube with the scanned faces

Moving layers

Rubik_Engine::spin -> move the cube's blocks

Rubik_Engine::spinback -> move back the cube's blocks

Cube's status

Rubik_Engine::isFinished -> Indicate if the cube is finished (blocks original position)

Rubik_Engine::==(rubik) -> Compare two cubes

Blocks info

Rubik_Engine::Block_FacesList -> Return the faces and colors of specific block

General commands

Rubik_Engine::randomize -> Randomize the cube

Rubik_Engine::operator() -> Copy a cube

Rubik_Engine::reset -> The cube's blocks return to their original positions