•      Sign In
• Create Account

## AI for soccer game

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1Oscar_GH  Members

122
Like
Likes
Like

Posted 25 April 2000 - 05:39 AM

Hi, I really apreciate so much if anyone could tell me which are the methods used in soccer games, I mean how can I do to make the Teams play, with tactics, strategy, etc. Thanks!

### #2pr0teus  Members

122
Like
Likes
Like

Posted 28 April 2000 - 05:54 PM

Hi,

I can''t tell you of a place to find this information, but I do have a few ideas.

1.) Make some rules for the different positions, such as forwards stay between a certain area during gameplay.

2.) Keep each player on his part of the field so he won''t interfere with the other players of his position. Relate this to number 1.

3.) When the ball comes into a player''s area, he tries to gain possession of the ball (by running straight for it)

4.) For strategy, locate the positions of the enemy players and make some sort of pathfinding algorithm to determine both the shortest way and the best way to get to the goal (best means farthest from the enemy)

You can do the first two with just x,y coordinates, three is just as simple. Four is obviously the hardest and worst idea I''ve given you.

Hope that is of some help,
Ben

### #3Oscar_GH  Members

122
Like
Likes
Like

Posted 30 April 2000 - 08:59 AM

Hi, and thanks for your answer, it really help me a lot.

Best Regards!

Oscar

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.