SlideShare a Scribd company logo
1 of 21
By:
Jojo naqvi
 Game artificial intelligence refers to techniques
used in computer and video games to produce
the illusion of intelligence in the behavior of
non-player characters (NPCs)
 Hacks and cheats are acceptable and, in many
cases, the computer abilities must be toned
down to give human players a sense of fairness.
E.g racing and shooting
1
 AI has continued to improve, with aims set on a
player being unable to tell the difference
between computer and human players.
 A game must „feel‟ natural
◦ Obey laws of the game
◦ Characters aware of the environment
◦ Path finding (A* algorithm)
◦ Decision making
◦ Planning
3
 Games are fun!
 They are limited, well-defined rules
 They are one of the few domains that allow us to
build agents.
 Studying games teaches us how to deal with other
agents trying to foil our plans
 Nice, clean environment with clear criteria for
success
 Game playing is considered an intelligent human
activity.
 AI has always been interested in abstract games.
 Games present an ideal environment where hostile
agents may compete.
4
 Machine Learning - also
known as ML, is a field of
artificial intelligence
which focuses on
developing algorithms
that can learn to predict,
classify, control, or solve
problems.
 Reinforcement Learning -
Taking past data that the
AI has recorded and
using it to influence
behavior and choices
made in the future.
 Waypoint Graph - is a
collection of waypoints
linked up to form the
information about what
areas of a level can be
traversed by an actor
during path finding.
5
 Game AI is about the illusion of human behaviour
◦ Smart, to a certain extent (Creativity)
◦ Non-repeating behaviour
◦ Emotional influences (Irrationality, „Personality‟)
◦ Body language to communicate emotions
◦ Being integrated in the environment
 Game AI needs various computer science disciplines
◦ Knowledge Based Systems
◦ Machine Learning
◦ Multi-agent Systems
◦ Computer Graphics & Animation
◦ Data Structures
6
 Strategy Games
◦ Real-Time Strategy (RTS)
◦ Turn-Based Strategy (TBS)
◦ Helicopter view
 Role-Playing Games (RPG)
◦ Single-Player
◦ Multi-Player (MMORPG)
 Action Games
◦ First-Person Shooters (FPS)
◦ First-Person Sneakers
 Sports Games
 Simulations
 Adventure Games
 Puzzle Games
7
8
23-Mar-20009Artificial Intelligence - CMT310 9
 providing more multi-human gaming
opportunities
◦ Teaming up with/against other
humans
◦ Large environments
◦ Changing environments
10
 A* algorithm gives the shortest path from
predator to prey in a tiled environment.
 This can be used for chase/evade.
 However, alternatives exist.
if (predatorX > preyX) {
predatorX--;
} else if (predatorX == preyX) {
// do nothing
} else {
predatorX++;
}
if (predatorY > preyY) {
predatorY--;
} else if (predatorY == preyY) {
// do nothing
} else {
predatorY++;
}
assuming tiled environment
Predator is at coordinates (predatorX,predatorY).
Prey is at coordinates (preyX,preyY).
This algorithm will update predator coordinates.
Algorithm for prey (evade) is just the opposite.
 This chase algorithm is not natural.
 Suppose the prey and predator are at the
coordinates below, then the algorithm will
give the following path.
prey
predator
 Instead we want a more natural path like
below.
prey
predator
What is Data Structure?
 In computer science, a data structure is a particular
way of storing and organizing data in a computer
so that it can be used efficiently.
 Data structures are used in almost every program
or software system.
 Data structures provide a means to manage huge
amounts of data efficiently.
What is Chess?
 Chess is a two-player board game played on a
chessboard, a square checkered board with
64 squares arranged in an eight-by-eight grid. It
is one of the world's most popular games, played
by millions of people worldwide.
 In computer chess, software developers must
choose a data structure to represent chess
positions on the chessboard
 In computer chess, software developers must
choose a data structure to represent the chess
board and chess positions. Several data structures
exist, collectively known as board representations.
Some are given below
 Offset board representation
 Bitmap board representation
 Two-dimensional array representation
 0X88 board representation
 Huffman encoding technique for chess pieces
 horizontal lines are called “Ranks”
 vertical lines are called “Columns” (column A,
column B… column H)
 Talking about indexes of array you can
imagine an 8 x 8 chess board in this way:
 The formula to calculate a square is:
 Index = rank * 8 + column
 where rank 1, rank 2,…, rank 8 and column
A, column B,…, column H are 0,1,2…7; the
index of square “e4″ is : 3 * 8 + 4=28 .
 Where c is a bit representing the color of the piece (1 = LIGHT, 0 = DARK)

More Related Content

What's hot

Artificial Intelligence in games
Artificial Intelligence in gamesArtificial Intelligence in games
Artificial Intelligence in gamesDevGAMM Conference
 
Project on ai gaming
Project on ai gamingProject on ai gaming
Project on ai gamingRoshan Panday
 
Artificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesArtificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesLuke Dicken
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesSomnathMore3
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unitydavidluzgouveia
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game ArchitectureAmin Babadi
 
Long Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in GamingLong Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in GamingAI Frontiers
 
Proposal of 3d GAME Final Year Project
Proposal of  3d GAME Final Year ProjectProposal of  3d GAME Final Year Project
Proposal of 3d GAME Final Year Projectfahim shahzad
 
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...Edureka!
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gamingijtsrd
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game DevelopmentiTawy Community
 
Artificial intelligence and its application
Artificial intelligence and its applicationArtificial intelligence and its application
Artificial intelligence and its applicationMohammed Abdel Razek
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game DevelopmentSumit Jain
 
Final Year Game Project Presentation
Final Year Game Project Presentation Final Year Game Project Presentation
Final Year Game Project Presentation Nusrat Jahan Shanta
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by StepBayu Sembada
 

What's hot (20)

Artificial Intelligence in games
Artificial Intelligence in gamesArtificial Intelligence in games
Artificial Intelligence in games
 
Project on ai gaming
Project on ai gamingProject on ai gaming
Project on ai gaming
 
Artificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesArtificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video Games
 
Street runner final
Street runner finalStreet runner final
Street runner final
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniques
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unity
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game Architecture
 
Long Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in GamingLong Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in Gaming
 
Proposal of 3d GAME Final Year Project
Proposal of  3d GAME Final Year ProjectProposal of  3d GAME Final Year Project
Proposal of 3d GAME Final Year Project
 
Tic Tac Toe
Tic Tac ToeTic Tac Toe
Tic Tac Toe
 
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...
A Brief History Of Artificial Intelligence | Developing Text To Speech Recogn...
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Artificial intelligence and its application
Artificial intelligence and its applicationArtificial intelligence and its application
Artificial intelligence and its application
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Final Year Game Project Presentation
Final Year Game Project Presentation Final Year Game Project Presentation
Final Year Game Project Presentation
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by Step
 
Lecture 1- Artificial Intelligence - Introduction
Lecture 1- Artificial Intelligence - IntroductionLecture 1- Artificial Intelligence - Introduction
Lecture 1- Artificial Intelligence - Introduction
 

Viewers also liked

Introduction to AI - Seventh Lecture
Introduction to AI - Seventh LectureIntroduction to AI - Seventh Lecture
Introduction to AI - Seventh LectureWouter Beek
 
Asynchronous Multiplayer on Mobile Network
Asynchronous Multiplayer on Mobile NetworkAsynchronous Multiplayer on Mobile Network
Asynchronous Multiplayer on Mobile NetworkIvan Dolgushin
 
Approaches to game AI overview
Approaches to game AI overviewApproaches to game AI overview
Approaches to game AI overviewIvan Dolgushin
 
Artificially Intelligent Design(er). The End of User Experience as we know it?
Artificially Intelligent Design(er). The End of User Experience as we know it?Artificially Intelligent Design(er). The End of User Experience as we know it?
Artificially Intelligent Design(er). The End of User Experience as we know it?Agnieszka Maria Walorska
 
Game design document template for serious games
Game design document template for serious gamesGame design document template for serious games
Game design document template for serious gamesAntoine Taly
 

Viewers also liked (7)

Game Design Dokumentation und Projekt Management
Game Design Dokumentation und Projekt Management Game Design Dokumentation und Projekt Management
Game Design Dokumentation und Projekt Management
 
Introduction to AI - Seventh Lecture
Introduction to AI - Seventh LectureIntroduction to AI - Seventh Lecture
Introduction to AI - Seventh Lecture
 
Asynchronous Multiplayer on Mobile Network
Asynchronous Multiplayer on Mobile NetworkAsynchronous Multiplayer on Mobile Network
Asynchronous Multiplayer on Mobile Network
 
Practical AI in Games
Practical AI in GamesPractical AI in Games
Practical AI in Games
 
Approaches to game AI overview
Approaches to game AI overviewApproaches to game AI overview
Approaches to game AI overview
 
Artificially Intelligent Design(er). The End of User Experience as we know it?
Artificially Intelligent Design(er). The End of User Experience as we know it?Artificially Intelligent Design(er). The End of User Experience as we know it?
Artificially Intelligent Design(er). The End of User Experience as we know it?
 
Game design document template for serious games
Game design document template for serious gamesGame design document template for serious games
Game design document template for serious games
 

Similar to Game playing in artificial intelligent technique

Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligencesabairshad4
 
Gameplaying in artificial intelligence
Gameplaying in artificial intelligenceGameplaying in artificial intelligence
Gameplaying in artificial intelligenceoceanparkk
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Gamesbutest
 
Tic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max AlgorithmTic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max AlgorithmUjjawal Poudel
 
Game designing using artificial intelligence
Game designing using artificial intelligenceGame designing using artificial intelligence
Game designing using artificial intelligenceduvvuru madhuri
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation ProjectOmar Enayet
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation ProjectAbdelrahman Al-Ogail
 
Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019Johanna Pirker
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial IntelligenceAhmed Hani Ibrahim
 
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...IJCSIS Research Publications
 
International journal of engineering issues vol 2015 - no 2 - paper1
International journal of engineering issues   vol 2015 - no 2 - paper1International journal of engineering issues   vol 2015 - no 2 - paper1
International journal of engineering issues vol 2015 - no 2 - paper1sophiabelthome
 
20131105 concepts of game design
20131105 concepts of game design20131105 concepts of game design
20131105 concepts of game designChristina Hsu
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshopsArtur Roszczyk
 
Web Game Development
Web Game DevelopmentWeb Game Development
Web Game DevelopmentSabin Buraga
 
AI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdfAI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdfAjayrewaria1
 

Similar to Game playing in artificial intelligent technique (20)

Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Gameplaying in artificial intelligence
Gameplaying in artificial intelligenceGameplaying in artificial intelligence
Gameplaying in artificial intelligence
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
 
Tic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max AlgorithmTic Tac Toe using Mini Max Algorithm
Tic Tac Toe using Mini Max Algorithm
 
Game designing using artificial intelligence
Game designing using artificial intelligenceGame designing using artificial intelligence
Game designing using artificial intelligence
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
 
Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019Why AI Is Shaping our games - Johanna Pirker, 2019
Why AI Is Shaping our games - Johanna Pirker, 2019
 
Libratus
LibratusLibratus
Libratus
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
 
PHP games
PHP gamesPHP games
PHP games
 
International journal of engineering issues vol 2015 - no 2 - paper1
International journal of engineering issues   vol 2015 - no 2 - paper1International journal of engineering issues   vol 2015 - no 2 - paper1
International journal of engineering issues vol 2015 - no 2 - paper1
 
Overview on computer games
Overview on computer games Overview on computer games
Overview on computer games
 
20131105 concepts of game design
20131105 concepts of game design20131105 concepts of game design
20131105 concepts of game design
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshops
 
Web Game Development
Web Game DevelopmentWeb Game Development
Web Game Development
 
Computer Chess 2004
Computer Chess 2004Computer Chess 2004
Computer Chess 2004
 
AI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdfAI_Sher Singh Shekhawat.pdf
AI_Sher Singh Shekhawat.pdf
 
R.A.W - THE GAME
R.A.W - THE GAMER.A.W - THE GAME
R.A.W - THE GAME
 

More from syeda zoya mehdi

Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theories
Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theoriesMaslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theories
Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theoriessyeda zoya mehdi
 
Project quality management
Project quality managementProject quality management
Project quality managementsyeda zoya mehdi
 
Mobile phone calling and texting college students in pakistan
Mobile phone calling and texting college students in pakistanMobile phone calling and texting college students in pakistan
Mobile phone calling and texting college students in pakistansyeda zoya mehdi
 
Introduction of javascript
Introduction of javascriptIntroduction of javascript
Introduction of javascriptsyeda zoya mehdi
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operationsyeda zoya mehdi
 

More from syeda zoya mehdi (10)

Sony nextep
Sony nextepSony nextep
Sony nextep
 
Android vs window
Android vs windowAndroid vs window
Android vs window
 
Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theories
Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theoriesMaslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theories
Maslow, herzberg, mc clelland, ouchi, thamhain and wilemon and convey theories
 
Project quality management
Project quality managementProject quality management
Project quality management
 
Mobile phone calling and texting college students in pakistan
Mobile phone calling and texting college students in pakistanMobile phone calling and texting college students in pakistan
Mobile phone calling and texting college students in pakistan
 
Table through php
Table through phpTable through php
Table through php
 
Firewall
FirewallFirewall
Firewall
 
Introduction of javascript
Introduction of javascriptIntroduction of javascript
Introduction of javascript
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operation
 
Windows phone
Windows phoneWindows phone
Windows phone
 

Recently uploaded

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Game playing in artificial intelligent technique

  • 2.  Game artificial intelligence refers to techniques used in computer and video games to produce the illusion of intelligence in the behavior of non-player characters (NPCs)  Hacks and cheats are acceptable and, in many cases, the computer abilities must be toned down to give human players a sense of fairness. E.g racing and shooting 1
  • 3.  AI has continued to improve, with aims set on a player being unable to tell the difference between computer and human players.  A game must „feel‟ natural ◦ Obey laws of the game ◦ Characters aware of the environment ◦ Path finding (A* algorithm) ◦ Decision making ◦ Planning 3
  • 4.  Games are fun!  They are limited, well-defined rules  They are one of the few domains that allow us to build agents.  Studying games teaches us how to deal with other agents trying to foil our plans  Nice, clean environment with clear criteria for success  Game playing is considered an intelligent human activity.  AI has always been interested in abstract games.  Games present an ideal environment where hostile agents may compete. 4
  • 5.  Machine Learning - also known as ML, is a field of artificial intelligence which focuses on developing algorithms that can learn to predict, classify, control, or solve problems.  Reinforcement Learning - Taking past data that the AI has recorded and using it to influence behavior and choices made in the future.  Waypoint Graph - is a collection of waypoints linked up to form the information about what areas of a level can be traversed by an actor during path finding. 5
  • 6.  Game AI is about the illusion of human behaviour ◦ Smart, to a certain extent (Creativity) ◦ Non-repeating behaviour ◦ Emotional influences (Irrationality, „Personality‟) ◦ Body language to communicate emotions ◦ Being integrated in the environment  Game AI needs various computer science disciplines ◦ Knowledge Based Systems ◦ Machine Learning ◦ Multi-agent Systems ◦ Computer Graphics & Animation ◦ Data Structures 6
  • 7.  Strategy Games ◦ Real-Time Strategy (RTS) ◦ Turn-Based Strategy (TBS) ◦ Helicopter view  Role-Playing Games (RPG) ◦ Single-Player ◦ Multi-Player (MMORPG)  Action Games ◦ First-Person Shooters (FPS) ◦ First-Person Sneakers  Sports Games  Simulations  Adventure Games  Puzzle Games 7
  • 8. 8
  • 10.  providing more multi-human gaming opportunities ◦ Teaming up with/against other humans ◦ Large environments ◦ Changing environments 10
  • 11.  A* algorithm gives the shortest path from predator to prey in a tiled environment.  This can be used for chase/evade.  However, alternatives exist.
  • 12. if (predatorX > preyX) { predatorX--; } else if (predatorX == preyX) { // do nothing } else { predatorX++; } if (predatorY > preyY) { predatorY--; } else if (predatorY == preyY) { // do nothing } else { predatorY++; } assuming tiled environment Predator is at coordinates (predatorX,predatorY). Prey is at coordinates (preyX,preyY). This algorithm will update predator coordinates. Algorithm for prey (evade) is just the opposite.
  • 13.  This chase algorithm is not natural.  Suppose the prey and predator are at the coordinates below, then the algorithm will give the following path. prey predator
  • 14.  Instead we want a more natural path like below. prey predator
  • 15. What is Data Structure?  In computer science, a data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.  Data structures are used in almost every program or software system.  Data structures provide a means to manage huge amounts of data efficiently.
  • 16. What is Chess?  Chess is a two-player board game played on a chessboard, a square checkered board with 64 squares arranged in an eight-by-eight grid. It is one of the world's most popular games, played by millions of people worldwide.  In computer chess, software developers must choose a data structure to represent chess positions on the chessboard
  • 17.
  • 18.  In computer chess, software developers must choose a data structure to represent the chess board and chess positions. Several data structures exist, collectively known as board representations. Some are given below  Offset board representation  Bitmap board representation  Two-dimensional array representation  0X88 board representation  Huffman encoding technique for chess pieces
  • 19.  horizontal lines are called “Ranks”  vertical lines are called “Columns” (column A, column B… column H)  Talking about indexes of array you can imagine an 8 x 8 chess board in this way:  The formula to calculate a square is:  Index = rank * 8 + column  where rank 1, rank 2,…, rank 8 and column A, column B,…, column H are 0,1,2…7; the index of square “e4″ is : 3 * 8 + 4=28 .
  • 20.
  • 21.  Where c is a bit representing the color of the piece (1 = LIGHT, 0 = DARK)