ThalesGroup / kessler-game

Kessler is a simulation environment loosely modeled after our internal project PsiBee and the external project Fuzzy Asteroids. The game has ships that shoot bullets at asteroids to gain score. Ships can collide with asteroids and other ships and lose lives.
https://github.com/ThalesGroup/kessler-game
Apache License 2.0
8 stars 5 forks source link

Custom scoring metrics #19

Closed zachariah-phillips-Thales closed 1 year ago

zachariah-phillips-Thales commented 1 year ago

A custom score metric class/dictionary should be added to the score.Teams class. This is useful when controllers want to establish their own metrics to be used when training agents. It could be accessed and affected by the controller.

zachariah-phillips-Thales commented 1 year ago

Instead of a custom scoring metrics dictionary, the final state of each controller is saved to the score class. This way any custom metrics can be tracked by the controller and accessed upon scenario completion.