sumo bot questions

Hey guys i am in the process of building a sumo bot and have been thinking on how I should program it? I will be using a motor control that controls 2 motors and at least 2 inferred sensors. I was wondering where exactly to put the sensors and I could use some help starting with the code, I am pretty new to this?
thanks