Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Training Angrybird using Reinforcement Learning - DDPG (Deep Deterministic Policy Gradient)

Notifications You must be signed in to change notification settings

EunjuYang/RLAngryBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

RLAngryBird

This repository is for reinforcement learning of angry bird (https://aibirds.org/) We used AngryBird API (https://aibirds.org/basic-gaime-playing-software/getting-started.html) DDPG algorithm is used and we referenced the ddpg code from (https://github.com/stevenpig/ddpg-aigym)

How to install

Reference (https://aibirds.org/basic-game-playing-software/getting-started.html) to set up the environment.

  • java is required
  • Chrome is required
  • JPype is required
sudo apt-get install google-chrome-stable
sudo apt-get install python-jpype

Please install Chrome extension. The extension is located in the folder "plugin".

  • a. In Chrome, go to Settings -> Tools -> Extensions
  • b. Tick "Developer Mode"
  • c. Click "Load unpacked extensions ... "
  • d. select the "plugin" folder and confirm
  • e. Make sure the extension called "Angry Birds interface" is enabled

myAngryBird.jar is not updated because of its file size. Please re-compile the src/ab/demo/other/ClientActionRobot.java and name it "myAngryBird.jar". Replace it with original myAngryBird.jar

How to execute

  • Execute the chrome browser and go to "chrome.angrybirds.com"

  • click "Play" and then click on "Poached Eggs" on the bottom left

  • open one terminal and type the command below

java -jar ABServer.jar
  • open another terminal and type the command below
cd src/{Version You want to Execute}
python RLAgent.py

Three versions

RLBird_RawImage

RLBird_Grid

RLBird_Lowdim

About

Training Angrybird using Reinforcement Learning - DDPG (Deep Deterministic Policy Gradient)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /