VISAB-ORG / VISAB

VISAB is a standalone utility to visualize artificial intelligence agent behavior in games.
1 stars 0 forks source link

F meta information #63

Closed mfroeh closed 3 years ago

mfroeh commented 3 years ago

Sessions are now opened using meta information as opposed to only a string of the game. This meta information is forwarded to the listener and will likely be saved inside the VISAB file. Why is this useful?

Flexability

We can send any information at the start of the session inside this meta information. It could be something regarding the statistics we will send E.g. how many players, which player is cbr based, ... or something that is focussed on the listener E.g. save the file if it has three entries or sth

Flexability is a nice extra, but the main purpose is Performance.

Performance

Some of the information that is sent via statistics does not change throughout the session. By including them in the statistics, we have an overhead whilst sending the statistics and saving the file. E.g. for CBRShooter that would be the player count, the game, the speed of the game.

By using meta information, we can then also include a ton more information, since its a one time request. Having something as the player count, the player names and whether the players are cbr agents would be of great use for processing and visualizing in VISAB. We could also include the size of the map in the meta information and then calcuate the relative coordinates on the VISAB side.

This PR should not be merged until both games are updated to a new VISABConnector version

leRoe93 commented 3 years ago

Exactly what I was dreaming of! tyvm!