Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cube-solving-basic-algo
# Cube-solving-basic-algo
Project made for [Robotics](https://www.facebook.com/robo.soc.nith/) club of [NIT-H](http://nith.ac.in/)

##### Language: [C](https://en.wikipedia.org/wiki/C_(programming_language))
Expand All @@ -9,17 +9,17 @@ Download the library to be used : [Link 1](https://drive.google.com/open?id=1b1S

**To link this library to your code use these steps : *watch from `1:41`* [Youtube](https://www.youtube.com/watch?v=-3BoOuSSCeI)**

## Here is the basic layout of the cube
## Here is the basic layout of the cube:
We can see that every step is in form of rotation of one of six faces in either clockwise or anti-clockwise direction relative to the face and we have defined functions for the same

![layout of cube](resources/Capture.JPG)


## Basic overview of functioning of library
## Basic overview of functioning of library:

We are imagining the cube as a `6x3x3 matrix` which hold values according to the above layout

## Using the library functions
## Using the library functions:

First we need to create a `6x3x3 matrix` like this :

Expand All @@ -30,7 +30,7 @@ We can(should) change the values depending on how we have scrambled the cube
**To rotate one face clockwise we use the following statement : `face1(&cube[0][0][0], 0)`**
// this rotates the face1 clockwise ie. the white face

## List of functions
## List of functions:

|function name|work|
|----------|---------|
Expand Down