How MIT taught a quadruped to play soccer