The following is the simple code that the group has so far:
The group will, later, add on an ultrasonic sensor for finding the opponent.
One other problem the group has noticed in lab is that the group's first prototype has good power, meaning explosive, but less agility due to the motor-torque ratio. This is a very bad disadvantage when the robot is trying to get away from the edge of the ring and to counter-attack. During the lab in week 4, the group will try to work on agility as containing the power.