Creating a new AI for StreetSoccer StreetSoccer

1 replies. Last post: 2014-05-01

Reply to this topic Return to forum

Creating a new AI for StreetSoccer
  • kilokhan at 2014-05-01

    I 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.

Return to forum

Reply to this topic




Include game board: [game;id:123456] or [game;id:123456;move:20] or [game;id:123456;move:20;title:some text]