[Pogamut-list] Game score VS Frags
WD@NTU
pogamut-forum at artemis.ms.mff.cuni.cz
Thu Aug 13 10:45:09 CEST 2009
Game score VS Frags
Author: WD at NTU
Hi, all.
I am working on some research topics using Pogamut. Now I have a question about how to retrieve the game score of the agent.
My current approach is whenever receive "BOT_KILLED" message, then "death++", whenever "PLAYER_KILLED", then "frags++" (only works fine for 1 on 1 and is problematic when having multiple players, BTW, how to retrieve the ID of the dead player).
This method works fine except sometimes the bot killed itself. In that case, the number of death still increase by 1, but the number of frags does not change. So the number of frags may not be consistent with the game score as "suicide" happens.
Do I need to compare the number of death of my own bot with the number of frags of the other bot to figure out whether there were any suicides? Or there is a simple way to retrieve the game store directly?
Thank you so much for answering my question!
More information about the Pogamut-list
mailing list