Giter Site home page Giter Site logo

theocabannes / open_spiel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deepmind/open_spiel

0.0 0.0 0.0 24.98 MB

OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.

License: Apache License 2.0

Shell 0.77% CMake 1.07% Python 32.23% C++ 63.37% Jupyter Notebook 1.98% Julia 0.26% Go 0.28% C 0.04%

open_spiel's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Theo
  • Feel free to find more info on my website

open_spiel's People

Contributors

ai-gamer avatar ajain-23 avatar alexminnaar avatar andyljones avatar asugawara avatar bedirt avatar calebho avatar christianjans avatar colibri17 avatar dmorrill10 avatar elkhrt avatar finbarrtimbers avatar findmyway avatar gabrfarina avatar inejc avatar jacobaustin123 avatar jblespiau avatar jhtschultz avatar lanctot avatar michalsustr avatar mj10 avatar mlschmidt366 avatar raphaelmarinier avatar sbodenstein avatar solinas avatar stochasticentropy avatar theocabannes avatar tuero avatar tyjch avatar vofak avatar

Watchers

 avatar

open_spiel's Issues

Inconsistent documentation in case no possible actions

In case a player has no possible actions, the documentation is not clear.
ApplyActions states that the player should have the action kInvalidAction: https://github.com/deepmind/open_spiel/blob/53eeb6127578f91e88a6c0451983d10e3509446d/open_spiel/spiel.h#L557.
LegalActions seems to say that the player should have a empty list: https://github.com/deepmind/open_spiel/blob/53eeb6127578f91e88a6c0451983d10e3509446d/open_spiel/spiel.h#L229

However, from generate_playthrough.py, it seems the player should have kInvalidAction as action.

Also, if kInvalidAction is returned then cfr does not work #7.

If empty list is returned then both cfr and NFSP do not work:
Screen Shot 2021-05-11 at 8 52 37 PM

Register python_markov_dynamic_routing_game

I succeed in registering markov_dynamic_routing_game by adding it to https://github.com/TheoCabannes/open_spiel/blob/fd2565ad12e125b609fa36abc4d8bcfb00fbbbdf/open_spiel/games/CMakeLists.txt and rebuilding the repo with https://github.com/TheoCabannes/open_spiel/blob/fd2565ad12e125b609fa36abc4d8bcfb00fbbbdf/open_spiel/scripts/build_and_run_tests.sh.

However I did not managed to register python_markov_dynamic_routing_game (which might require changing a python binding file or a make file).

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.