Creating a new AI for StreetSoccer StreetSoccer
1 replies. Last post: 2014-05-01
Reply to this topic Return to forumReturn to forum
You have 0 new messages
You have 0 games on move.
You have 0 invitations to game.
1 replies. Last post: 2014-05-01
Reply to this topic Return to forumI am planning to create a new AI for StreetSoccer called 1K.
The algorithm is simple. Analyse the next possible moves, allot points for each move based on the following criteria and then select the move with the highest points.
points criteria
1. If the move results in a goal, give 100 pts to that move.
2. If n is the proximity average of your team's players to the ball allot ( 10 - n) points to the move
3. If m is the the proximity average of your opponent's players to the ball allot m points to the move
Sum these up and that must give you the total points for the move.
Proximity average is calculated by taking sum of minimum distance each player of a team has to travel to reach the ball and divide by number of players (5).
Please tell me if there are any changes needed to the AI.