- Created Friday, January 29th 2016 @ 23:46:25
Hello, I'm very interested in attempting to apply machine learning techniques to learn a bot for a competition. I'm curious, is this allowed or done often? Are there perhaps inherent limitations that favour hard-coded rules as opposed to rules learned from data and experience?
In particular, the Game Log seems like it would be extremely beneficial for using as data to try to learn a good bot for a game. Is this allowed? Is there any provided API for retrieving Game Log data for a match? Just from browsing through most discussions, most solutions appear to be algorithm based as opposed to data driven, so I'm curious if there is a particular reason data driven approaches aren't used such as they aren't allowed?
Thanks for any info!
- Created Saturday, January 30th 2016 @ 09:14:14
Also interested in this.
DeveloperCreated Monday, February 1st 2016 @ 09:43:42
It is allowed, but we have no API to get the data. What you probably want to do is use an engine source code from our github page github.com/theaigames, to train your bot locally.
- Created Wednesday, February 3rd 2016 @ 21:26:13
I think what they mean (or at least what I would want to say) is that it would be useful to have access to the games that have been played in the past. This way we could train our bots using game history.
- Created Thursday, February 4th 2016 @ 00:53:38
Precisely. Is there a particular reason that raw game dumps aren't available for games you were not involved in? Seems like you can watch any game anyways, but the raw text is only available if you were a participant. Are there security-related reasons or sensitive information that is available in the game dump other then game state and player moves?
DeveloperCreated Thursday, February 4th 2016 @ 08:59:05
That's because the error dumps might reveal how the bot works and I'd imagine not everybody would want that out in public, especially before the finals are over.
- Created Sunday, February 7th 2016 @ 20:50:49
Then having just the error dump private ought to be enough, no?
- Created Wednesday, February 10th 2016 @ 22:05:24
You can access the raw data which is used to display the game in the viewer. For any game, append "/data" to the url and you get it. You don't need to be logged in to access it. For Warlight 2, there is a second file, which contains the map: append "/mapdata" to the url for that.
Depending on the competition, the data file is either in json format or plain text. As far as I know, it it not documented, but if you look at the game in the viewer and at the json, you must be able to figure out how to interpret it.
- Created Thursday, February 11th 2016 @ 18:54:00
Thank you very much for your answer! I think this is what most of us have been looking for.