LoginSignup
7
2

More than 5 years have passed since last update.

人狼知能開発のPythonAgent接続

Last updated at Posted at 2018-03-28

人狼知能開発でtensorflowを使ったモデルを適用したいのでJavaじゃなくてPythonを使ってみようと思いました。そのプロセスを公開していけたらいいなと思っています。

人狼知能サーバーへのPythonAgentの接続方法

基本的にはHarada Kei,AIWolfPy v0.4.9を自分用に分かりやすく纏めただけのものです。

1../StartServer.sh
2. Connectを押す
3. ./StartGUIClient.sh
3. OpenFileからjarファイルを開き、選択する。
4. SampleRoleAssignPlayerなどのAgentを選択(14人分)
5. AIWolfPyをDLし、展開する。
6. 展開した先で./python_sample.py -h localhost -p 10000
7. AIwolf Server StarterのStart Gameを押す

以上でPythonで作ったAgentをサーバーへ接続させることができます。

*追記
鳥海さんがpythonAgentのAutostarterバージョンをブログで公開してくださっています。

7
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
2