SlideShare ist ein Scribd-Unternehmen logo
1 von 9
How to create AIWolf agent in C#
C#版人狼知能エージェントの作り方
version 2.0.0
Takashi OTSUKI
大槻 恭士
Prerequisits / 事前準備
• [EN] Install .NET Core SDK 2.2.
[JP] .NET Core SDK 2.2.をインストールしておく.
• [EN] Download ClientStarter with runtime, and extract it in the
directory you like.
[JP] ランタイム付きClientStarterをダウンロードして,任意のディレクト
リに展開しておく.
• [EN] Download AIWolf platform, and extract it in the directory you like.
[JP]人狼知能プラットフォームをダウンロードして,任意のディレクトリ
に展開しておく.
• [EN] Install JRE. This is necessary for AIWolf platform.
[JP] 人狼知能プラットフォームに必要なので,JREをインストールして
おく.
Example of preparations #1 / 準備例 #1
Supposing Linux here. / ここではLinuxを想定
• [EN] Confirmation of installed .NET Core SDK.
[JP] インストール済みの.NET Core SDKの確認
• [EN] Creation of working directory, extraction
and validation of ClientStarter.
[JP] 作業用ディレクトリの作成,ClientStarterの
展開と動作確認
Example of preparations #2 / 準備例 #2
• [EN] Confirmation of installed JRE.
[JP] インストール済みのJREの確認
• [EN] Extraction of AIWolf
platform.
[JP] 人狼知能プラットフォーム
の展開
• [EN] Validation of AIWolf platform.
[JP] 人狼知能プラットフォーム
の動作確認
Playing with the dummy / ダミープレイヤーで対戦
• [EN] Edit AutoStarter.ini in AIWolf-ver0.5.2 directory.
[JP] AIWolf-ver0.5.2ディレクトリ内のAutoStarter.iniを編集.
[EN] Uncomment
[JP] コメントを外す
[EN] Comment out
[JP] コメントアウト
• [EN] Run AutoStarter, then run ClientStarter with –d in another shell.
[JP] AutoStarter起動後,別シェルでClientStarterを-dを付けて起動
[EN] You can see that Dummy is running.
[JP] ダミープレイヤーが参加している
Making my own agent #1 / 独自エージェント作成 #1
• [EN] Create the project directory for your own agent, and
initialize it as class library project.
[JP] 独自エージェントプロジェクト用のディレクトリを作成し,
クラスライブラリプロジェクトとして初期化
Making my own agent #2 / 独自エージェント作成 #2
• [EN] Add AIWolfLib package to this project.
[JP] プロジェクトにAIWolfLibパッケージを追加
• [EN] Rename Class1.cs MyAgent.cs.
[JP] Class1.csをMyAgent.csにファイル名変更
Making my own agent #3 / 独自エージェント作成 #3
• [EN] Edit MyAgent.cs as
right figure using your
favorite editor.
[JP] お好みのエディタで
MyAgent.csを右図のように
編集
• [EN] Build this project.
[JP] プロジェクトをビルド
Making my own agent #4 / 独自エージェント作成 #4
• [EN] The dll file of this agent is located in the following directory.
[JP] エージェントのdllファイルは以下のディレクトリ内にある
bin/Debug/netstandard2.0
• [EN] Make this agent join the game.
[JP] 作成したエージェントをゲームに参加させてみる
(Suppose ClientStarter in search path / ClientStarterにパスが通っているとする)
[EN] You can see that MyAgent joins
the game with no problem.
[JP] MyAgentが無事にゲームに参
加できていることがわかる

Weitere ähnliche Inhalte

Kürzlich hochgeladen

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Kürzlich hochgeladen (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 

Empfohlen

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

How to create AIWolf agent in C#

  • 1. How to create AIWolf agent in C# C#版人狼知能エージェントの作り方 version 2.0.0 Takashi OTSUKI 大槻 恭士
  • 2. Prerequisits / 事前準備 • [EN] Install .NET Core SDK 2.2. [JP] .NET Core SDK 2.2.をインストールしておく. • [EN] Download ClientStarter with runtime, and extract it in the directory you like. [JP] ランタイム付きClientStarterをダウンロードして,任意のディレクト リに展開しておく. • [EN] Download AIWolf platform, and extract it in the directory you like. [JP]人狼知能プラットフォームをダウンロードして,任意のディレクトリ に展開しておく. • [EN] Install JRE. This is necessary for AIWolf platform. [JP] 人狼知能プラットフォームに必要なので,JREをインストールして おく.
  • 3. Example of preparations #1 / 準備例 #1 Supposing Linux here. / ここではLinuxを想定 • [EN] Confirmation of installed .NET Core SDK. [JP] インストール済みの.NET Core SDKの確認 • [EN] Creation of working directory, extraction and validation of ClientStarter. [JP] 作業用ディレクトリの作成,ClientStarterの 展開と動作確認
  • 4. Example of preparations #2 / 準備例 #2 • [EN] Confirmation of installed JRE. [JP] インストール済みのJREの確認 • [EN] Extraction of AIWolf platform. [JP] 人狼知能プラットフォーム の展開 • [EN] Validation of AIWolf platform. [JP] 人狼知能プラットフォーム の動作確認
  • 5. Playing with the dummy / ダミープレイヤーで対戦 • [EN] Edit AutoStarter.ini in AIWolf-ver0.5.2 directory. [JP] AIWolf-ver0.5.2ディレクトリ内のAutoStarter.iniを編集. [EN] Uncomment [JP] コメントを外す [EN] Comment out [JP] コメントアウト • [EN] Run AutoStarter, then run ClientStarter with –d in another shell. [JP] AutoStarter起動後,別シェルでClientStarterを-dを付けて起動 [EN] You can see that Dummy is running. [JP] ダミープレイヤーが参加している
  • 6. Making my own agent #1 / 独自エージェント作成 #1 • [EN] Create the project directory for your own agent, and initialize it as class library project. [JP] 独自エージェントプロジェクト用のディレクトリを作成し, クラスライブラリプロジェクトとして初期化
  • 7. Making my own agent #2 / 独自エージェント作成 #2 • [EN] Add AIWolfLib package to this project. [JP] プロジェクトにAIWolfLibパッケージを追加 • [EN] Rename Class1.cs MyAgent.cs. [JP] Class1.csをMyAgent.csにファイル名変更
  • 8. Making my own agent #3 / 独自エージェント作成 #3 • [EN] Edit MyAgent.cs as right figure using your favorite editor. [JP] お好みのエディタで MyAgent.csを右図のように 編集 • [EN] Build this project. [JP] プロジェクトをビルド
  • 9. Making my own agent #4 / 独自エージェント作成 #4 • [EN] The dll file of this agent is located in the following directory. [JP] エージェントのdllファイルは以下のディレクトリ内にある bin/Debug/netstandard2.0 • [EN] Make this agent join the game. [JP] 作成したエージェントをゲームに参加させてみる (Suppose ClientStarter in search path / ClientStarterにパスが通っているとする) [EN] You can see that MyAgent joins the game with no problem. [JP] MyAgentが無事にゲームに参 加できていることがわかる