Giter Club home page Giter Club logo

gym_reversi's People

Contributors

azriel1rf avatar pigooosuke avatar ysaito02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gym_reversi's Issues

numpyのバージョンについて

こんにちは、shinchankosenと申します。
qiitaのサイトを読ませていただき、こちらのレポジトリをforkしていじって遊ぼうとしていたところ、実行できなかったので、修正した点について報告させていただきます。

つきましては、以下の3点の修正および疑問を提案します。

  • reversi.pyのmake_random_policy内のnp_random.randintを、np_random.integersに変更。(randintはおそらくnumpyのバージョンの問題で、ないと吐かれる。)
    - ray-project/ray#24133 こちらを参考にしてintegersに変更すると実行できました。
  • 同じところのd ** 2 + 1のdは宣言されていないです
  • 出力がずれており、outfile.write(' ' * 6)の6を7にすると改善します

2,3つ目は修正しなくても実行に問題はないです。

よろしくお願いします。

大きさの変更に伴うPossibleActionの変更

お世話になっております.

ボードの大きさを変更した際にPossibleActionが変更されないことを発見しました.

238行目
actions.append(pos_x*8+pos_y)
の8はdではないでしょうか.

取り急ぎ報告までに.失礼しました.

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.