Inteligência Artificial em Jogos
description
Transcript of Inteligência Artificial em Jogos
![Page 1: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/1.jpg)
Inteligência Artificial em Jogos
Adônis TavaresFelipe Maia
João Gabriel
![Page 2: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/2.jpg)
Roteiro
• Introdução• Histórico• Objetivos• Técnicas• Conclusão
![Page 3: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/3.jpg)
O que é Inteligência Artificial?"The ability of a computer or other machine to perform those
activities that are normally thought to require intelligence."
"Artificial intelligence is a branch of science that helps machines find solutions to complex problems in a more human-like fashion. This generally involves borrowing characteristics from biological intelligence, and applying them as algorithms in a computer-friendly way.“
• Comportamente inteligente de uma máquina– Cérebro artificial por trás
• Adquirir uma visão sobre a natureza da inteligência humana
![Page 4: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/4.jpg)
O que é Inteligência?• Normalmente exige conhecimento• Comportamento racional– Conhecimento disponível para maximizar o objetivo
• Otimização de técnicas• Envolve consciência e emoção
"(...)intelligence is a set of skills that allows humans to solve problems with limited resources. Skills
such as learning, abstract thought, planning, imagination, and creativity cover the most important aspects of human intelligence."
![Page 5: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/5.jpg)
Tipos de AI
• Strong IA– Computadores pensando em um nível igual ao
homem– Entidade consciente
• Weak IA– Amplo domínio das tecnologias– Difícil de aplicar fora de seu domínio– Qualidades de inteligência aos sistemas– Jogos (Game IA)
![Page 6: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/6.jpg)
IA Acadêmica X Game IA
• O termo Game IA surgiu para diferenciar os estudos em IA para jogos eletrônicos dos elaborados pelo meio acadêmico
• IA Acadêmica– Solução de problemas difíceis (Ex: Reconhecimento
de Padrões• Game IA– Diversão dos jogadores
• Impor desafios• Promover realismo comportamental
![Page 7: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/7.jpg)
Game IA?
“Anything that gives the illusion of intelligence to an appropriate level, thus making the game
more immersive, challenging, and, most importantly, fun, can be considered game AI.”
• Física? Detecção de colisão? Pathfinding?
![Page 8: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/8.jpg)
Papéis da IA em Jogos
• Adversários• Aliados• Personagens de apoio• NPC’s (Non-player Character)• Comentaristas• Controle de câmera• Guias
![Page 9: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/9.jpg)
Histórico
• 1770: “O turco”, criado por Wolfgang von Kempelen, que supostamente jogava xadrez com perfeição.
![Page 10: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/10.jpg)
Histórico
• Até a década de 1970, os jogos possuíam apenas Versus Mode
• A indústria percebeu que a inclusão de um modo para um jogador poderia atrair um público maior, desta forma, aumentando os lucros
• Técnicas já conhecidas no meio acadêmico passaram a ser utilizadas para simular o comportamento humano
![Page 11: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/11.jpg)
Histórico
• 1978: Space Invaders implantou as primeiras entidades inteligentes em jogos
![Page 12: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/12.jpg)
Histórico
• 1980: Pac-man conta com movimentos padronizados dos inimigos, porém cada fantasma tem um modo diferente de caçar o jogador
![Page 13: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/13.jpg)
Histórico
• 1990: O primeiro jogo de estratégia em tempo real, Herzog ZWei, é lançado. A busca de caminho apresentada nesse jogo era de baixa qualidade
![Page 14: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/14.jpg)
Histórico
• 1996: BattleCruiser: 3000AD é publicado como o primeiro jogo a utilizar redes neurais comercialmente
![Page 15: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/15.jpg)
Histórico
• 1998: Half-Life é lançado como a melhor Game IA até então
• 2001: Black & White é alvo da mídia a respeito de como as criaturas aprendem com as decisões do jogador
![Page 16: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/16.jpg)
Objetivos da Game IA
• Guiar as metas– O que fazer e como fazer
• Reação– Responder imediatamente as mudanças no mundo
• Conhecimento intensivo– Conhecimento profundo sobre o mundo e como ele
se comporta– Incorpora esse conhecimento em seu comportamento
![Page 17: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/17.jpg)
Objetivos da Game IA
• Representatividade– Incorpora um personagem plausível
• Velocidade– Desenvolvimento fácil e rápido
• Recursos– Pouco consumo de processamento e memória
![Page 18: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/18.jpg)
Pipeline da Game IA
• IA geralmente funciona em 3 passos distintos– Percepção– Raciocínio– Ação
![Page 19: Inteligência Artificial em Jogos](https://reader035.fdocuments.in/reader035/viewer/2022062422/56814002550346895dab385e/html5/thumbnails/19.jpg)
Técnicas de Game IA
• Determinística“Deterministic behavior or performance is specified
and predictable. There's no uncertainty.”
• Não-Determinística“Behavior has a degree of uncertainty and is
somewhat unpredictable (the degree of uncertainty depends on the AI method employed
and how well that method is understood).”