VizionEck AI progress #2

Viewing single post

Started by Legend, Oct 18, 2017, 12:28 AM

previous topic - next topic

Legend

The game AI for VizionEck Cube Royale is just starting to come together. The general structure is:

  • determine offense action for this frame, or nothing
  • determine defense action for this frame, or nothing
  • determine desired movement traits
  • calculate method to reach movement goal


The first two are very large and complex but mostly straightforward. All possible actions are looped through. If they can't be performed this frame, they get a score of 0. Otherwise a score is calculated by taking the benefits of that action and subtracting the negatives. The action with the highest score is performed.

Movement is a lot harder because multiple actions need to be done each frame. Also I'll need to incorporate a pathfinding algorithm. Not really sure how to handle it yet.