Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


AI for soccer game

This topic is 6932 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post

Link to post
Share on other sites

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,

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!