Git Product home page Git Product logo

neat-genetic-mario's Introduction

Update to Seth Bling's Mar I/O lua code, forked from mam91/Neat-Genetic-Mario.

(Planned) additions & changes

Added coins/score/damage to fitness calculation.

Added version with weighted distance: added circle around mario where enemies inside the circle are treated as most important and enemies outside of the circle have their weights reduced depending on how far outside the circle.

Added a start/stop button so that the algorithm doesn't auto-start on load and so that one can easily pause the algorithm.

For some reason, the load feature did not work on my machine. This is now fixed so that I can load a previously saved pool.

Moved the neat graphics to the form window instead of as a gui overlay. I liked the gui overlay but I prefer to to separate the game > window from the neat information.

Did some miscellaneous house-keeping, like moving global config settings into their own file, etc. =======

NeatResearch

Update to Seth Bling's Mar I/O lua code.

Added coins/score/damage to fitness calculation.

Added version with weighted distance: added circle around mario where enemies inside the circle are treated as most important and enemies outside of the circle have their weights reduced depending on how far outside the circle.

Added a start/stop button so that the algorithm doesn't auto-start on load and so that one can easily pause the algorithm.

For some reason, the load feature did not work on my machine. This is now fixed so that I can load a previously saved pool.

Moved the neat graphics to the form window instead of as a gui overlay. I liked the gui overlay but I prefer to to separate the game window from the neat information.

Did some miscellaneous house-keeping, like moving global config settings into their own file, etc.

Instructions

  1. Install BizHawk prerequesites & emulator:
    1. BizHawk prerequesites (currently 2.1)
    2. BizHawk (currently 2.2.2)
  2. Get the rom of Super Mario World (USA). (Other Super Mario World roms might work too but are not tested)
CRC MD5 SHA1
B19ED489 CDD3C8C37322978CA8669B34BC89C804 6B47BB75D16514B6A476AA0C73A683A2A4C18765
  1. Clone the repository or download the zip file and place the neat-mario folder in your \BizHawk-2.2\Lua\SNES\ folder. (like: BizHawk-2.2\Lua\SNES\neat-mario)
  2. Open config.lua and change variable _M.BizhawkDir to point on your BizHawk directory.
  3. Open BizHawk (EmuHawk.exe)
  4. Click File > Open ROM (Ctrl + O) and find Super Mario World (USA).sfc file.
  5. Once loaded, click Tools > Lua Console
  6. In the new window, click Script > Open Script (Ctrl + O) and select mario-neat.lua in your \BizHawk-2.2\Lua\SNES\neat-mario folder.
  7. The NEAT control window will display and you can then click Start to begin training.

======= 9. The NEAT control window will display and you can then click Start to begin training.

neat-genetic-mario's People

Contributors

mam91 avatar wts42 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.