SlideShare uma empresa Scribd logo
1 de 20
Inteligência Artificial




Sistema Especialista para controle de atividade
       de Personagens no jogo DOTA.



                                  Murilo Augusto Tosatti
Sistema Especialista - Tópicos


    Introdução
●


    Decisões
●


    Sistema Especialista
●


    Inteligência
●


    Conclusões
●


    Limitações e Trabalhos Futuros
●
Sistema Especialista - Introdução


    DOTA – Defense Of The Ancients
●


    Mapa do jogo Warcraft 3 (Blizzard)
●


    2 Bases
●


    3 Caminhos
●


    Heróis
●


    Torres
●
Sistema Especialista - Decisões


    Objetivo do jogo = destruir a base inimiga
●


    Proteger x Atacar
●


    3 caminhos
●


    3 heróis
●


    3 Inimigos
●


    Ondas de creeps
●
Sistema Especialista - Implementação


    Base de Conhecimentos
●


    Motor de Inferência
●


    Quadro de Estados (Memória de Trabalho)
●


    Quadro de Interação (Quadro Negro)
●
Sistema Especialista – Base


    Regras
●


        Se “BaseSendoAtacada = True” e “Quantidade de
    –
        Atacantes = 3” então “Todos os Heróis Devem
        Defender”
    Conjunção de Antecedentes = Conseqüente
●
Sistema Especialista – Base


    3 tipos de Regras
●


        1: regras que modificam a memoria de trabalho
    –
        adicionando ou alterando valores
        2: regras de estado, indicam estados importantes,
    –
        como, por exemplo: “a base está sendo atacada”.
        3: regras objetivo, ou seja, as decisões de
    –
        movimento dos heróis.
Sistema Especialista – Motor de Inferência


    Utiliza:
●


        As regras da Base de Conhecimentos
    –

        Os valores de entrada do Quadro Negro
    –

        Os valores de estado da Memória de Trabalho
    –
Sistema Especialista – Motor de Inferência


    Atualiza a memória de trabalho com os dados
●

    do Quadro Negro.
    Loop
●


        Enquanto houver modificação do quadro negro
    –
        pelas regras que ainda não foram utilizadas
        Se uma regra de tipo 2 é encontrada, mostra a
    –
        mensagem na tela
        Se 3 regras do tipo 3 são encontradas, o objetivo
    –
        foi concluído
Sistema Especialista – Memória de Trabalho


    Variáveis com valores
●


    É atualizada pelo Motor de Inferência
●


    Exemplos:
●


        “TorreSentinel1” = “presente”
    –

        “Herói1” = “defendendoCaminho1”
    –

        “Creeps1” = “TorreSentinel1”
    –
Sistema Especialista – Quadro Negro


    Posição dos Heróis
●


    Posição dos Inimigos
●


    Estado das torres
●


    Níveis dos Heróis
●


    Posição das ondas de creeps
●


    Tipo dos heróis
●
Sistema Especialista - Implementação
Sistema Especialista - Inteligência


    As regras que possuem todos os antecedentes
●

    com match são ativadas e passam a alterar a
    memória de trabalho
    Se nenhuma regra foi ativada, as regras que
●

    possuem parte de seus antecedentes com
    match e nenhum antecedente contrariado, são
    combinadas para chegar às regras do tipo 3
    (objetivo)
Sistema Especialista - Inteligência


    Heróis são enviados para o caminho com maior
●

    nível de perigo para a base
    Se o nível permitir, enquanto alguns defendem,
●

    outros atacam
    Defender a base é prioridade quando todos os
●

    inimigos estão atacando-a
Sistema Especialista - Conclusões


    Aplicação aparentemente ingênua (jogo)
●


    Estratégia complexa
●


    Base de conhecimentos de difícil
●

    implementação
Sistema Especialista – Limitações e
Trabalhos Futuros

    3 heróis x 5 possíveis
●


    Motor de inferência simples
●


    Dados de entrada (tempo para renascer, itens,
●

    runes, npcs, última localização)
PERGUNTAS?

Mais conteúdo relacionado

Destaque

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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 
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...Applitools
 
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 WorkGetSmarter
 

Destaque (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
 

Sistema especialista DOTA controla personagens

  • 1. Inteligência Artificial Sistema Especialista para controle de atividade de Personagens no jogo DOTA. Murilo Augusto Tosatti
  • 2. Sistema Especialista - Tópicos Introdução ● Decisões ● Sistema Especialista ● Inteligência ● Conclusões ● Limitações e Trabalhos Futuros ●
  • 3. Sistema Especialista - Introdução DOTA – Defense Of The Ancients ● Mapa do jogo Warcraft 3 (Blizzard) ● 2 Bases ● 3 Caminhos ● Heróis ● Torres ●
  • 4.
  • 5.
  • 6. Sistema Especialista - Decisões Objetivo do jogo = destruir a base inimiga ● Proteger x Atacar ● 3 caminhos ● 3 heróis ● 3 Inimigos ● Ondas de creeps ●
  • 7. Sistema Especialista - Implementação Base de Conhecimentos ● Motor de Inferência ● Quadro de Estados (Memória de Trabalho) ● Quadro de Interação (Quadro Negro) ●
  • 8. Sistema Especialista – Base Regras ● Se “BaseSendoAtacada = True” e “Quantidade de – Atacantes = 3” então “Todos os Heróis Devem Defender” Conjunção de Antecedentes = Conseqüente ●
  • 9.
  • 10. Sistema Especialista – Base 3 tipos de Regras ● 1: regras que modificam a memoria de trabalho – adicionando ou alterando valores 2: regras de estado, indicam estados importantes, – como, por exemplo: “a base está sendo atacada”. 3: regras objetivo, ou seja, as decisões de – movimento dos heróis.
  • 11. Sistema Especialista – Motor de Inferência Utiliza: ● As regras da Base de Conhecimentos – Os valores de entrada do Quadro Negro – Os valores de estado da Memória de Trabalho –
  • 12. Sistema Especialista – Motor de Inferência Atualiza a memória de trabalho com os dados ● do Quadro Negro. Loop ● Enquanto houver modificação do quadro negro – pelas regras que ainda não foram utilizadas Se uma regra de tipo 2 é encontrada, mostra a – mensagem na tela Se 3 regras do tipo 3 são encontradas, o objetivo – foi concluído
  • 13. Sistema Especialista – Memória de Trabalho Variáveis com valores ● É atualizada pelo Motor de Inferência ● Exemplos: ● “TorreSentinel1” = “presente” – “Herói1” = “defendendoCaminho1” – “Creeps1” = “TorreSentinel1” –
  • 14. Sistema Especialista – Quadro Negro Posição dos Heróis ● Posição dos Inimigos ● Estado das torres ● Níveis dos Heróis ● Posição das ondas de creeps ● Tipo dos heróis ●
  • 15. Sistema Especialista - Implementação
  • 16. Sistema Especialista - Inteligência As regras que possuem todos os antecedentes ● com match são ativadas e passam a alterar a memória de trabalho Se nenhuma regra foi ativada, as regras que ● possuem parte de seus antecedentes com match e nenhum antecedente contrariado, são combinadas para chegar às regras do tipo 3 (objetivo)
  • 17. Sistema Especialista - Inteligência Heróis são enviados para o caminho com maior ● nível de perigo para a base Se o nível permitir, enquanto alguns defendem, ● outros atacam Defender a base é prioridade quando todos os ● inimigos estão atacando-a
  • 18. Sistema Especialista - Conclusões Aplicação aparentemente ingênua (jogo) ● Estratégia complexa ● Base de conhecimentos de difícil ● implementação
  • 19. Sistema Especialista – Limitações e Trabalhos Futuros 3 heróis x 5 possíveis ● Motor de inferência simples ● Dados de entrada (tempo para renascer, itens, ● runes, npcs, última localização)