Hit space and two cannons will start a battle as they are programmed.
As currently programmed, the blue cannon almost always wins. Try changing the red's movement pattern and beat the blue.