Coder Social home page Coder Social logo

shaking54 / mario-astar-robinbaumgarten Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jumoel/mario-astar-robinbaumgarten

0.0 0.0 0.0 44 KB

A* Mario AI as used by Robin Baumgarten for the CIG 2009 Mario AI competition

Home Page: http://www.doc.ic.ac.uk/~rb1006/projects:marioai

Java 100.00%

mario-astar-robinbaumgarten's Introduction

(Clone of the Mario A* agent made by Robin Baumgarten because his website doesn't allow for downloading at the moment - I take no credit for anything in here)

A* Mario AI v1.1 as used by me (Robin Baumgarten) for the CIG 2009 Mario AI competition.

Homepage: http://www.doc.ic.ac.uk/~rb1006/projects:marioai (archive: https://web.archive.org/web/20090808193823/http://www.doc.ic.ac.uk/~rb1006/projects:marioai)

Overview:
- AStarAgent.java: The entry point of the source-code, called by the API. It calls the optimize() function in AStarSimulator.java
- AStarSimulator.java: Contains the meat of the A* search. The SearchNode class contains a node, including its action, and a copy of the world state. The optimize() function sets up the A* planner, extracts the latest plan and returns an optimal action. search() contains the planning loop itself, which explores the search space.
- LevelScene.java: This class contains most of the world-state, and holds the Mario-object and enemy objects.

How to get it to run:
- Download the competition mario code from Julian's site.
- Put my Mario AI into the src/competition/cig/robinbaumgarten/ folder
- Launch \src\ch\idsia\scenarios\Play.java, changed so that it loads AStarAgent.java.

License
The source-code is published under the WTFPL (http://sam.zoy.org/wtfpl/, Do What The Fuck You Want To Public License). Basically, do whatever you like with the source code.

Of course, I'd be happy if you mention that it has been developed by me, and give me a heads up if you use it. 

hf,
Robin

mario-astar-robinbaumgarten's People

Contributors

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