2016 Winner Source Code - BamBird

Links to the source code of Angry Birds AI agents and related discussions

2016 Winner Source Code - BamBird

Postby Jochen » Thu Apr 20, 2017 4:04 am

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.
User avatar
Jochen
 
Posts: 86
Joined: Tue Mar 19, 2013 10:36 pm
Location: Canberra, Australia

Re: 2016 Winner Source Code - BamBird

Postby Jochen » Thu Apr 27, 2017 5:47 pm

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.
User avatar
Jochen
 
Posts: 86
Joined: Tue Mar 19, 2013 10:36 pm
Location: Canberra, Australia


Return to Open Source Agents

Who is online

Users browsing this forum: No registered users and 0 guests

cron