These three diagrams demonstrate a functioning Sumo player written entirely in Miscrosoft Visual Programming Language.

VplSumoOne
The first diagram demonstrates a simple player that just uses the bump sensors and cliff sensors on the simulated iRobot Create to detect the opponent (using the bump sensors) and the edge of the ring (using the cliff sensors)

VplSumoTwo
The second diagram demonstrates a more complete player that uses the camera on the robot to try and find the opponent (rather than wandering around the arena until bumping into something). Because of a known issue in the way that the services start, this diagram will not run directly from VPL, but needs to be compiled as a service (Menu Item Build -> Compile As Service) and then that compiled service needs to be run (Menu Item Run -> Run Compiled Services)

VplSumoThree
This diagram removes all sumo playing logic from the diagram and allows you to drive the robot from a game controller or and on screen joystick widget.


Prerequisites:
These need to be installed in this order

Microsoft Robotics Studio (1.5)
Sumo Competition for Microsoft Robotics Studio (1.5)
Introductory Courseware for Microsoft Robotics Studio (1.5)  CTP Sep 2007

All of these can be found at the Microsoft Robtics Studio download page - http://msdn2.microsoft.com/en-us/robotics/aa731520.aspx