On the Subject of Colored Cube

the cube!!1!1!11!111111

This module contains a Colored Cube, which can be either (R)ed, (G)reen, (B)lue, (Y)ellow, (M)agenta, (W)hite or Blac(K). The faces of the cube are all interactable

The cube will start at the 1st position of the generated sequence (indicated by the number in Top left of the cube), which contains 3 colors. To cycle the cube through the sequence, press the middle part when the last digit of the timer is the number you get from the table below.
NOTE: You cannot cycle after starting movement.

First Color in the SequenceWhen to press the cube
Red(Number of letters in # + 8) % 10
Green(Number of digits in # + 3) % 10
Blue(Unlit Indicators + 1) % 10
Yellow(Batteries + 5) % 10
Magenta(Ports + 9) % 10
White(Lit Indicators + 4) % 10
Black(Last digit in # + 7) % 10

# - Serial Number

In the below grid, find your starting position. On the rows on the left, find the second color of the sequence, this is the row of your starting position. Repeat the same process on the columns on the top, using the third color of the sequence.

RGBYMWK
RRMBWGKY
GWKRGYBM
BKBYMRWG
YGYMBKRW
MMRKYWGB
WYWGRBMK
KBGWKMYR

Next, find the three target positions you should submit. Take the serial number and split it into 3 pairs. In each pair, convert any letters into their alphabetic positions (A = 1, B = 2...Z = 26), and replace any 0s with 1s, then subtract 7 from each value unitl they are in the range 1 to 7. The first number will be used as the row, counting from the top to bottom on the rows on the left, and the second number will be used as the column, counting from left to right on the columns on the top.

Use the faces of the cube to move along the grid: the left and right faces move you left and right, the back face moves you up, and the front face moves you down. The grid does not wrap around. Move to the target positions in any order avoiding the cells labeled with the second color of the sequence (if you start on such a cell, the module will not strike you, and if such a cell is one of the target positions, you may move to it without striking) and press the middle part of the cube. This will submit your current position. If you have a duplicate target position, submit it multiple times.

A strike will occur whenever you submit a wrong position. Once you submit all three of the target positions, the module will solve.

R BACK RIGHT FRONT LEFT

In case you get lost, there is a reset button (which appears invisible, but is highlightable) in top left corner of the module, which resets your current position in the grid, your current position in the color sequence, and the target positions that you have to submit.

In this diagram, “R” indicates the reset button.