Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Bot Meta data in PTNs #56

Open
nqeron opened this issue Jun 26, 2016 · 2 comments
Open

Request: Bot Meta data in PTNs #56

nqeron opened this issue Jun 26, 2016 · 2 comments

Comments

@nqeron
Copy link

nqeron commented Jun 26, 2016

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"]

@chaitu236
Copy link
Owner

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.

@TreffnonX
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants