Nice idea, although it did take me a while to understand what was going on. I think the game would be easier to understand if the button displayed the currently selected action, and maybe if it only appeared after selecting a unit. One last nitpick: I personally would have preferred it if the units controlled by the player were always the same color.
Still, good job on the submission!