Get cubeType - AkshathRaghav/cubot.io GitHub Wiki

cubeState()

--> returns if its holding 3x3 or 2x2

String[] temp2 = {"RRRR", "GGGG", "OOOO", "BBBB", "WWWW", "YYYY"};
Cubot cube = new Cubot(temp2) ;
System.out.println(cube.cubeType());
String[] temp  = {"RRRRRRRRR", "GGGGGGGGG", "OOOOOOOOO", "BBBBBBBBB", "WWWWWWWWW", "YYYYYYYYY"};
cube = new Cubot(temp) ;
System.out.println(cube.cubeType());