it is a simple toy light controller implemented using FSM that alter light based on the input and its current state for the CMPS 255 course in AUB with prof. mahmoud bdeir.
input X Y legend:
00 - alternate between yellow magenta cyan and white respectively
01 - alternate in reverse order
10- alternate between yellow and cyan or white and magenta based on selected color
11 - keep the color the same / don't change it