GithubHelp home page GithubHelp logo

osm3000 / grid_world_simulator Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 19 KB

A grid world simulator, very useful to test my ideas about reinforcement learning and agent learning. Super light and super fast!

License: GNU General Public License v3.0

Python 100.00%

grid_world_simulator's Introduction

grid_world_simulator

A grid world simulator, very useful to test my ideas about reinforcement learning and agent learning. Super light and super fast!

Following the complexity of 'CollectBall' experiment (simulator is available on github), and my increasing lack of computational power and time (imagine the frustration), I will build a more abstract/lighter simulator. The map is just a text file. Basic rules:

  • 4 directions: Up, Down, Left and Right
  • Sensory data: The robot can see the area around it (the 8 places surrounding him).

The target, again, is to provide a cheap environment to test my goal decomposition methods. The bottom line is: I really don't want to spend too much time on the details of the simulator. This approach proved to be successful during my masters internship (see my simulator on github). Some of the codes will be adapted directly from it.

The structure for this project will be:

  • ./maps
    • Will contain all the maps
  • map_generator.py (not done yet)
    • Will generate a random map for a particular task. It takes 3 parameters:
      • What is the task?
      • Nb of goals in this map
      • Size of the map
  • map_parser.py
    • Will read the map, extract basic info:
      • The places of the wall.
      • The places of the goals.
  • game_logic.py
    • This will have the controlling game logic
  • game_state.py
  • agents.py
  • main.py

grid_world_simulator's People

Contributors

osm3000 avatar

Watchers

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