Git Product home page Git Product logo

Comments (3)

ArnaudFickinger avatar ArnaudFickinger commented on June 17, 2024 8

https://github.com/ArnaudFickinger/gym-multigrid

Here you go ;)

from minigrid.

maximecb avatar maximecb commented on June 17, 2024

MiniGrid distinguishes between the agent and the other objects in the environment, and in retrospect I think that this may have been a design mistake. I think that a better design choice would be to treat agents like other objects in the world, using the same class hierarchy, and maybe to keep a list of agents in the MiniGrid class. Then in the step method you may want to specify which agent you are stepping. In general, I feel like OpenAI Gym kind of assumes a single agent setup though.

Not sure we should make this refactoring to MiniGrid itself because I'm concerned about breaking existing code. It's unfortunate because there are a few things I would change if this wasn't an issue. The best solution may be for you to fork this repo and make the modifications you want. Maybe call it something like MultiGrid ;)

from minigrid.

maximecb avatar maximecb commented on June 17, 2024

@ArnaudFickinger Nice work, many people have been asking for this.

Just one nitpick: since you based your environment on MiniGrid, you should copy over the open source license: https://github.com/maximecb/gym-minigrid/blob/master/LICENSE

from minigrid.

Related Issues (20)

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.