Coder Social home page Coder Social logo

afcarl / supermarioworld-neat-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paulpauls/supermarioworld-neat-agent

0.0 0.0 0.0 15 KB

Reinforcement-Learning Agent trained with the NEAT-Pythonto play Super Mario World

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

supermarioworld-neat-agent's Introduction

Reinforcement-Learning Agent trained with the NEAT algorithm to play Super Mario World

AS OF MAY 2019: CODE AND README CURRENTLY UNDER HEAVY DEVELOPMENT

Reinforcement Learning Agent trained in OpenAI's Retro environment with the game 'Super Mario World' for the SNES. This program makes heavy use of NEAT-Python and its standard configurations.

The in-game data OpenAI's retro environment provides for Super Mario World has been enhanced in the custom data.json provided, which should replace the standard data.json of super mario world. The ram addresses of this in-game data has been found through the ROM RAM map of Super mario World. The following in-game information has been added:

  • x_pos_player
  • midway_point_flag
  • timer_hundreds
  • timer_tens
  • timer_ones
  • level_exit_info

Setup and Execute

  1. Replace the standard data.json in the installation directory of the retro package. Assuming Python 3.7 in a virtualenv:
$ cp -f ./data.json ./venv/lib/python3.7/site-packages/retro/data/stable/SuperMarioWorld-Snes/
  1. Configure HyperParameters of neat-config as well as those in evolve-agent.py

  2. Execute $ python3 evolve-agent.py

supermarioworld-neat-agent's People

Contributors

paulpauls 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.