Implementing AI behaviors in a soccer game