SlideShare une entreprise Scribd logo
1  sur  17
Soutenance IA04
Réalisation du jeu de loups garous
Les règles
JOUEURS JOUEURS
• Jeu tour à tour
• Tours de jeu rythmés par une période de jour et une période de nuit.
• Les joueurs sont amenés à voter pour l’un d’entre eux.
Loups garous Citoyens
JOUEUR
ROLE PRINCIPAL ROLE SECONDAIRE
possède
possède
0,*
1 0,*
Les rôles
Trois modes :
• Simulation de jeu avec IA
• Simulation de jeu avec intervention humaine
• Jeu en condition réelle
Utilisation de JADE, LIBGDX
Le projet
Game container
System container
System
Controller Agent
Game container
Game container
Game container
UI container
UI container
UI Agent
UI Agent
Architecture générale
Game container
Game
Controller
Citizen
Controller
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Player
Agent
Werewolf
Controller
Environment
Agent 1
Role XXX
Controller
Environment
Agent 2
Environment
Agent Joueur
Humain X
Architecture du conteneur de jeu
Player Agent Player Agent
XXX Controller Agent
Service Description
Type :
CONTROLLER
Nom : XXXX
Service Description
Type : PLAYER
Nom : CITIZEN
Service Description
Type : PLAYER
Nom : WAKE
Service Description
Type : PLAYER
Nom : SLEEP
Service Description
Type : PLAYER
Nom : DEAD
Service Description
Type : PLAYER
Nom : WEREWOLF
Player Agent
Service Description
Type : PLAYER
Nom : MAYOR
Utilisation de l’agent DF
String [] args = {Roles.WEREWOLF, Status.WAKE};
List<AID> werewolves = DFServices.findGamePlayerAgent(args, this.ctrlAgent,
this.ctrlAgent.getGameid());
PlayerAgent
Game Controller Agent
Init Behaviour
Attribuer un
rôle
NewMainRole
Behavoiur
FactoryInit
Behaviour
Envoie le
rôle à initier
XXROLEXXInit
Behaviour
Lance le behaviour
d’initialisation du rôle
Ajoute tous les
behaviours du rôle
Attribution d’un rôle
Role XXX Controller
Synchronous Vote
Behaviour
Player (IA)
Abstract Vote
Behaviour
Player (HUMAIN)
Human Vote
BehaviourPlayer (IA)
Abstract Vote
Behaviour
Requête de
vote / Résultat
Requête de
vote / Résultat
Gestion du vote
Turn Behaviour
Player Agent (IA)
XXXX
Behaviour
STRATEGIC
XXXXX
Behaviour
SUSPICIOUS
Abstract
Vote
Behaviour Score
Player Agent
(HUMAIN)
Human Vote
Behaviour
Requête
de vote
Environment
Agent
UI Agent
Interactions
XXXX
Behaviour
STRATEGIC
Score
Gestion du vote
Résultat
du vote
Requête
de vote
Résultat
du vote
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 0 0 0
A B C D
0 0 0 0
A B C D
0 0 0 0
A B C D
0 0 0 0
Suspicion
Suspicion
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 0 0 0
A B C D
1 0 0 1
A B C D
1 1 0 0
A B C D
0 0 0 0
Suspicion
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 0 0 0
A B C D
1 0 1 2
A B C D
2 1 0 1
A B C D
0 0 0 0
Suspicion
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 0 0 0
A B C D
1 0 1 2
A B C D
2 1 0 1
A B C D
0 0 0 0
Suspicion
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 0 0 0
A B C D
1 0 1 2
A B C D
2 1 0 1
A B C D
0 0 0 0
A B C D
3 1 1 3
Suspicion
JOUEUR DJOUEUR A JOUEUR B JOUEUR C
A B C D
0 1 0 0
A B C D
1 0 1 2
A B C D
2 1 0 1
A B C D
0 1 0 0
A B C D
3 3 1 3
Mort d’un joueur
PlayerAgent
CitizenControllerAgent
KillVictimsBehaviour
Envoi message de mort
Abstract
DeathBehaviour
Si confirmation,
lancement des
behaviours de morts
XXROLEXXDeath
Behaviour
XXROLEXXPreDeat
h
Behaviour
Action du rôle en
cas de mort
Demande
confirmation
de mort

Contenu connexe

En vedette

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)
 

En vedette (20)

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
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Système multi-agents