Giter Club home page Giter Club logo

level-generation-es-guided-vae's Introduction

Angry Birds (Science Birds) Level Generation by Evolutionary Strategy Guided Variational Autoencoder

Play game:

  1. Download the folder "build-windows". If you are using other OS, you can fetch the Science Birds repository and build it with Unity.
  2. Run "Science_Birds.exe", or the binary executable you compiled.
  3. Our generated levels start from level 4.
  4. Levels are saved in ".xml" format and placed in folder "./build-windows/ScienceBirds_Data/StreamingAssets/Levels".

Run EA:

  1. Download the folder "GPU".
  2. Upload that onto Google Colab.
  3. Open "Experiment.ipynb".
  4. Connect Colab to GPU.
  5. Configure the variable notebook_path to the path of the notebook.
  6. (Select a custom fitness).
  7. Run all code blocks. Under default configuration, the EA should take around 6 min to run.
  8. Generated levels are saved under "./GPU/generated_levels".

Remarks:

  1. Full data of our experiments are saved as "Experiement_data.xlsx"
  2. We separate "GPU" and "CPU" since there are difference between the two modes that cannot be merged easily.
  3. The "TensorFlow(abandoned)" folder contains our attempt of building the VAE from scratch. However, it suffers from overfitting issues and we do not have enough time to figure that out.
  4. The code we use for VAE are in "saved_models" and "utility" folder, under "./CPU" and "./GPU", which are extracted and modified from the source code of the paper we reviewed.
  5. The code to build the game environment come from Science Birds.

Reference:

  1. Takumi Tanabe, Kazuto Fukuchi, Jun Sakuma, and Youhei Akimoto. 2021. Level Generation for Angry Birds with Sequential VAE and Latent Variable Evolution. In Proceedings of the Genetic and Evolutionary Computation Conference (Lille, France) (GECCO โ€™21). Association for Computing Machinery, New York, NY, USA, 1052โ€“1060. https://doi.org/10.1145/3449639.34592

level-generation-es-guided-vae's People

Contributors

mengyang-liu6666 avatar arthurgxy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.