Open nqeron opened 8 years ago
Thanks for the suggestion. Right now there is no way for server to know FriendlyBot's level. I'll think about whether I should add an API for that.
It could go with the bot interface modifications. Maybe the interface could include a meta-info block which stores key values that can be added (sorted alphabetically) to the PTN. So any bot could just add any arbitrary key value pair like: level:6; version:1.4.1; plies:8.... and so forth. The key value pairs themselves don't even need to match any semantics on server side, the server would just paste them into the PTN (or show them on info request - right click on the bot->info). This way, users could quickly find botrelated information. The realization is simple too: just add a treemap with string-string generical content and use the .values() function to find all entries.
It would be nice to be able to pass meta-data into PTNs for bot play. For example, if I were to play against friendlybot, I'd like to be able to have a record of the level at which I was playing.
Maybe something like this:
[Site "PlayTak.com"] [Event "Online Play"] [Date "2016.06.24"] [Player1 "X"] [Player2 "FriendlyBot - level 6"] [Result "R-0"] [Size "6"]