zaxhutchinson / MAIA

Maine AI Arena
GNU General Public License v3.0
0 stars 1 forks source link

Repair Sim #16

Open zaxhutchinson opened 1 month ago

zaxhutchinson commented 1 month ago

Opening this issue blind. I haven't tried to run a simulation after the ui_work merge but I'm 100% certain it is broken. I'll use this to document changes. Things I know need work are:

The goal of the new branch related to this issue just to fix and bring sim and config in line. Once this is done. I'll start another branch to revamp the sim itself (which will probably trigger more ui changes).

zaxhutchinson commented 1 month ago

Work has been slow. In part this is because I've decided to completely overhaul how goals (gstates) work. This involves overhauling how winning and losing works.

I'm changing the entire thing to be points-based. Moving to a points system allows me to fix a bothersome issue in how goals are currently structured. Certain goals require the linking of a specific object used by a specific team in a specific map. This is a bit cumbersome to keep track of since it is something that has to be done out of the system.

  1. The "object" is agnostic. Any object. I'll leave for future work the ability to specify which object. I can think of scenarios where this might be desired, but I think they are second order (multi-agent team scenarios where only one object can "score"). 1 and 2: Items can be restricted by the system to be only those items placed on the map. This means triggers can be created within the map admin screen. And I can do away with the Goal admin screen.

This also completely removes the ability to specify an xy location in a goal. Which is good. Because it will allow items to move and the trigger still work.