Giter VIP home page Giter VIP logo

gobblet_gobblers's Introduction

Gobblet Gobblers

Gobblet GobblersのAiを作成.

What's "Gobblet Gobblers" ?

日本国内の正規輸入代理店「すごろくや」の紹介ページ
https://sgrk.blog.fc2.com/blog-entry-3687.html

正規ルールと違う点として、 持ち上げた際にできる3並びについては考慮してないです。
簡単のためです。今後対応します。

ファイル構成

├─ main.py # シミュレーション.
├─ player_ai.py # ゲームAI.指定したアルゴリズムで行動を決定.
├─ statevalue.py # 指定したアルゴリズムで状態価値を決定.
└─ gobblet_gobblers.py # クラスStateを定義.

推奨環境

Anaconda Prompt を推奨します。 ただし、Pythonが実行できる環境であれば、なんでも構いません。

実行方法

  1. Anaconda https://www.anaconda.com/ をインストール.

  2. Gobblet Gobblersをダウンロード.

  3. Anaconda Prompt を実行

  4. Promptに"python "と入力. (行末のスペースを忘れずに!)

  5. ダウンロードしたGobblet Gobblersから、main.pyをAnaconda Promptにドラック&ドロップしてください.

  6. Promptには、"phtyon [パス]/main.py"となっているはずです。そのままEnterで実行できます.

  7. main.pyを書き換えることで、MiniMaxプレイヤー同士のゲームを見ることができます!
    ※ 書き換え済みverは、"players_are_MiniMax"ブランチからダウンロードできます.

参考文献

布留川英一(2019) 『AlphaZero 深層学習・強化学習・探索 人工知能プログラミング実践入門』 ボーンデジタル.
https://www.borndigital.co.jp/book/14383.html

gobblet_gobblers's People

Contributors

ken-ty avatar

Stargazers

 avatar  avatar

Watchers

 avatar kouya takahashi avatar

Forkers

shunsuke-1994

gobblet_gobblers's Issues

ゴブレットゴブラーズのゲームの実装

ゴブレットゴブラーズのゲームの実装をする。
現在は三目並べである。

  • これを3層にする。
  • 手持ちの駒を管理する。
  • 勝敗判定を、盤面の駒を動かしたときには2回に分けて発生させる。

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.