def Bi(self): self.back.rotate_counter_clockwise() reverse2(self.left.col1, self.right.col3) self.up.row1, self.left.col1, self.down.row3, self.right.col3 = self.left.col1, self.down.row3, self.right.col3, self.up.row1 self.right.refresh_rows() self.left.refresh_rows() self.up.refresh_cols() self.down.refresh_cols()
def Li(self): self.left.rotate_counter_clockwise() reverse2(self.back.col3, self.down.col1) self.up.col1, self.front.col1, self.down.col1, self.back.col3 = self.front.col1, self.down.col1, self.back.col3, self.up.col1 self.up.refresh_rows() self.front.refresh_rows() self.down.refresh_rows() self.back.refresh_rows()
def Fi(self): self.front.rotate_counter_clockwise() reverse2(self.left.col3, self.right.col1) self.up.row3, self.right.col1, self.down.row1, self.left.col3 = self.right.col1, self.down.row1, self.left.col3, self.up.row3 self.right.refresh_rows() self.left.refresh_rows() self.up.refresh_cols() self.down.refresh_cols()
def Ri(self): self.right.rotate_counter_clockwise() reverse2(self.back.col1, self.down.col3) self.up.col3, self.back.col1, self.down.col3, self.front.col3 = self.back.col1, self.down.col3, self.front.col3, self.up.col3 self.up.refresh_rows() self.front.refresh_rows() self.down.refresh_rows() self.back.refresh_rows()