Completed Sensor Code ( TugWar )