Remember these program are simple and not built for your specific robot. You will need to configure your ports within the program to match your specific robot. You will also need to test the programs to be sure it is working. My suggestion is to use a display block to display the target value and ultrasonic sensor data.
Sumo Target Value Program (This program will determine where your opponent is located)
Target Value = 0 Seek
Target Value = 1 Opponent on the Left
Target Value = 2 Opponent on the Right
Target Value = 3 Opponent in Front
Sumo Targeting Program Using EV3g
Sample Main Program
Sample Sumo Attack Program
Sumo Target Value Program
Sumo Targeting Program Using EV3 Classroom
Sample Main Program
Sample Target Value My Block
Sample Attack Program
Sumo Targeting My Block (Blind Spot)
Target Attack My Block (Blind Spot)
Main Program (Blind Spot)