Page 1 of 1

2016 Winner Source Code - BamBird

PostPosted: Thu Apr 20, 2017 4:04 am
by Jochen
Here is the source code from the winners of the AIBIRDS 2016 competition.
http://aibirds.org/2016-papers/BamBird_2016.zip

For any questions, plese contact Diedrich Wolter <diedrich.wolter@uni-bamberg.de> or discuss here.

Re: 2016 Winner Source Code - BamBird

PostPosted: Thu Apr 27, 2017 5:47 pm
by Jochen
Oops, sorry, I posted a link to the jar file. Here is the correct source code:
http://aibirds.org/2016-papers/BamBird_2016_source.zip

The code requires Prolog and must have swipl installed. Here is a description of what the agent does:

From the computer vision output we abstract to a qualitative scene representation
(for examples see Prolog/level directory, files are generated when agent is
playing). The scene representation is a Prolog file which is then read in by
Prolog and a shallow planning (only first step ist performed) is done to find
the best strategy/shot combinations. Strategies are something like "max damage",
"deepest penetration into some structure". Essentially, we run a "affordance-based"
approach of destruction implemented as rules: if there's TNT, we want to make it explode,
if there's a structure that can be tipped over, we go for that, ...
From the list of best shots, a random selection method picks a shot based on its
estimated score, ie, shots believed to be best are most likely chosen. Last but not
least, we have a random level selection method. Once every level has been tried, we
choose a level with a probability according to the estimated increase in the overall
score possible. The estimation score is countered with the number of attempts we
already spent on that level, so we lower expectations if we try over an over.
For computing estimated score we just count number of objects and pigs in scene
and the number of birds ready to shoot.

Re: 2016 Winner Source Code - BamBird

PostPosted: Mon Oct 02, 2017 5:40 am
by NigelGob
Joc4hen wrote:Here is the source code from the winners of the AIBIRDS 2016 competition.

For any questions, try the best fat burners contact Diedrich Wolter <diedrich.wolter@uni-bamberg.de> or discuss here.


Thanks for the source code Jochen. Is anyone around here doing anything with it?

Re: 2016 Winner Source Code - BamBird

PostPosted: Tue Oct 17, 2017 8:17 pm
by Mel Cooke
NigelGob wrote:Thanks for the source code Jochen. Is anyone around here doing anything with it?


I'm gonna give it a try!