Here is an educational kit with two robots that can play soccer. The Fable Play! Set comes with two Fable robots that combine with your smartphone to express themselves. You also get wheels, dongles, 3D connectors, fork, ball stand, phone holders, and everything else you would need to play.
According to Shape Robotics, Fable modular robots can be programmed using Python or Blockly.