Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351 by
Diff: Moves.cpp
- Revision:
- 56:bc5345bc6650
diff -r e0e684531825 -r bc5345bc6650 Moves.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Moves.cpp Mon Jul 16 10:51:47 2018 +0000 @@ -0,0 +1,62 @@ +//This is where the algorithms movements will be defined +#include "Moves.hpp" + +int side = 0; //Sides +void White_Cross() +{ + +} + + +void White_Cross_Position() +{ + if(CubeMap[1][0][1] == White )//Top middle + { + //rotate 180 + } + if(CubeMap[1][1][0] == White )//Middle Left + { + //rotate 90 + } + if(CubeMap[1][1][2] == White )//Middle Right + { + //rotate 0 + } + if(CubeMap[1][2][1] == White )//Bottom Middle + { + //rotate 270 + } +} +void White_Cross_Orientate() +{ + +} +void White_Centre_Swap() +{ + +} + +void White_Corners() +{ + +} +void Middle_Layer() +{ + +} +void Top_Cross() +{ + +} +void Top_Layer() +{ + +} +void Corner_Positioning() +{ + +} +void Edge_Orientation() +{ + +} \ No newline at end of file