SlideShare a Scribd company logo
Game playing
 GAMES ARE FUN! .THEY ARE LIMITED, WELL-DEFINED RULES .THEY PROVIDE
ADVANCED, EXISTING TEST-BEDS FOR DEVELOPING SEVERAL IDEAS AND
TECHNIQUES THAT ARE USEFUL ELSEWHERE.
Area of interest
 Definitions
 History, Overview
 Concepts
 Applications
 Current trends in this field
 One of the most studied and
most interesting areas of
Artificial Intelligence is game
playing. They are Fun, and
HARD to create
DEFINITION
 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
 Emphasis of game AI is on developing rational agents to match or exceed human
performance
Definition cont …
 AI has continued to improve, with aims set on a player being unable to tell the
difference between computer and human players - remember Turin test?
 A game must ‘feel’ natural
 Obey laws of the game
 Characters aware of the environment
 Path finding (A* algorithm)
 Decision making
 Planning
 Game ‘bookkeeping’, scoring
 ~50% of game project time is spent on building AI
Why are games relevant to AI?
 Games are fun!
 They are limited, well-defined rules
 They provide advanced, existing test-beds for developing several ideas and techniques that are useful
elsewhere.
 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
 Huge state spaces – Games are highly complex! Usually, there is not enough time to work out the
perfect move. E.g Go & Chess
 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
State space
 Coarser-grain than Tactical AI (Very Large space search)
 Problem solving
 Goal formulation
 Problem formulation
 Search
 Solution
 Execution
The Illusion of Human Behaviour
 Game AI is about the illusion of human behaviour
 Smart, to a certain extent (Creativity)
 Non-repeating behaviour
 Unpredictable but rational decisions
 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
Computer Games Types
 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
History and overview
 Minimax - Developed by John von Neumann in 1928 - This algorithm is used
extensively in game theory
 Samuel’s learning program (1959) - The program learns through the manipulation
of the summation of heuristics. - If the program wins, it raises high heuristic values and
lowers low ones. If it loses, it does the opposite.
 1960s - Progress and success in Game AI. - Creating a successful AI meant coming up
with the right rules for it to follow. 1970s-1980s - Transition to games as entertainment
- Using search based AI to emulate entertaining characters would be unnatural and
clumsy - Game play is based more on skill than on rules
 Early 1990s - Increased realism becomes the primary focus of the game industry - A
rift develops between the developers of popular games and AI researchers
CONCEPTS Technologies / techniques
used
 Machine learning
 Waypoint Graph
 Continuous Control
 Cellular Automata
 Case Based Reasoning
 Blend Database
 Dynamic Programming
 Finite State Machines
 Fuzzy Logic
 Influence Mapping
 Motion Graph
 Motion Capture
 Navigation Mesh
 Navigation Graph
 Artificial Neural Networks
 Policy Search
 Path Planning
 Path Following
 Steering
 Alpha-Beta pruning
 MiniMax
Game setup
 Two players: A and B
 A moves first and they take turns until the game is over. Winner gets award, loser gets
penalty.
 Games as search:
 Initial state: e.g. board configuration of chess
 Successor function: list of (move, state) pairs specifying legal moves.
 Terminal test: Is the game finished?
 Utility function: Gives numerical value of terminal states. E.g. win (+1), lose (-1) and draw (0)
in tic-tac-toe
 A uses search tree to determine next move.
How to Play a Game by Searching
 General Scheme
-Consider all legal moves, each of which will lead to some new state of the
environment (‘board position’)
 Evaluate each possible resulting board position
 Pick the move which leads to the best board position.
 Wait for your opponent’s move, then repeat.
 Key problems
 Representing the ‘board’
 Representing legal next boards
 Evaluating positions
 Looking ahead
Applications
 Training Simulators
 Effective training often requires thousands of people
 Computer generated stand-ins can cut costs
 Military simulations
 Management simulations
 Economic simulations
 Education
 Software for pre-school children
 Entertainment
 Virtual Environments
 Simulated worlds allows AI researchers to concentrate on algorithms instead of sensors
 Again, computer generated robots are cheaper than actual robots
Applications
 Human-level AI
 Every person is an expert on human-level intelligence
 Testing of AI is easy
 Movies
 Crowd scenes
 Flocking behavior
 Realistic Movement
Game AI Major Challenges
 Resources - Realism in computer games focused on graphics - Advanced
graphics requires many CPU cycles - Recent advances in computer hardware have
someone alleviated this issue.
 Deadlines - Game engine must be developed before AI can be tested - AI
programmers often have to compromise to meet deadlines
 Over Intelligence - Perfect AI would be easier to code - It would lack
believability and not be fun. - Human-level AI should quit, surrender, or run away-
even fight to the end.
 Research and Development - Lack of cohesion between AI research community
and game developers - AI in modern computer games seems trivial to AI
researchers
Summary
 Games are to AI as grand prix racing is to automobile design Games are fun to
work on (and dangerous)
 They illustrate several important points about AI
 perfection is unattainable, must approximate
 it is a good idea to think about what to think about
 uncertainty constrains the assignment of values to states
References
 Artificial Intelligence: A Modern Approach' (Second Edition) by Stuart Russell and
Peter Norvig, Prentice Hall Pub.
 http://www.cs.umbc.edu/471/notes/pdf/games.pdf
 http://l3d.cs.colorado.edu/courses/AI-96/sept23glecture.pdf
 Theodore L. Turocy, Texas A&M University, Bernhard von Stengel, London School
of Economics "Game Theory" CDAM Research Report Oct. 2001
 http://www.uni-koblenz.de/~beckert/Lehre/Einfuehrung-KI-SS2003/folien06.pdf
[6] http://ai-depot.com/LogicGames/MiniMax.html

More Related Content

What's hot

Game Playing
Game Playing Game Playing
Game Playing
Maham Huda
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
ijtsrd
 
A survey on AI in computer games
A survey on AI in computer gamesA survey on AI in computer games
A survey on AI in computer games
RedwanIslam12
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshops
Artur Roszczyk
 
Why AI is shaping our games
Why AI is shaping our gamesWhy AI is shaping our games
Why AI is shaping our games
Förderverein Technische Fakultät
 
Adversarial search
Adversarial search Adversarial search
Adversarial search
Farah M. Altufaili
 
Web Game Development
Web Game DevelopmentWeb Game Development
Web Game Development
Sabin Buraga
 
Js3516731693
Js3516731693Js3516731693
Js3516731693
IJERA Editor
 
PHP games
PHP gamesPHP games
PHP games
harwoodr
 
Btec assignment-brief unit-20 assignment 2
Btec assignment-brief unit-20 assignment 2Btec assignment-brief unit-20 assignment 2
Btec assignment-brief unit-20 assignment 2
thomasmcd6
 
Presentation
PresentationPresentation
Presentation
Anu22ish
 
Iproduct presentation(final)
Iproduct presentation(final)Iproduct presentation(final)
Iproduct presentation(final)
11009373
 
Commuter Game Design
Commuter Game DesignCommuter Game Design
Commuter Game Design
oli shaw
 
Mini Max Algorithm Proposal Document
Mini Max Algorithm Proposal DocumentMini Max Algorithm Proposal Document
Mini Max Algorithm Proposal Document
Ujjawal Poudel
 
Game Development Methodology Mapped on the EvoGlimpse Video Game Experiment
Game Development Methodology Mapped on the EvoGlimpse Video Game ExperimentGame Development Methodology Mapped on the EvoGlimpse Video Game Experiment
Game Development Methodology Mapped on the EvoGlimpse Video Game Experiment
Zelia Blaga
 
1 computer basics
1 computer basics1 computer basics
1 computer basics
Manolita Salagunting
 
An outdoor pervasive game for children.
An outdoor pervasive game for children.An outdoor pervasive game for children.
An outdoor pervasive game for children.
swaipnew
 
Pergames2005 Paper
Pergames2005 PaperPergames2005 Paper
Pergames2005 Paper
Trond Nilsen
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Javeria Akram
 
Online gaming culture 4
Online gaming culture 4Online gaming culture 4
Online gaming culture 4
Anton Hecht
 

What's hot (20)

Game Playing
Game Playing Game Playing
Game Playing
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
 
A survey on AI in computer games
A survey on AI in computer gamesA survey on AI in computer games
A survey on AI in computer games
 
Presentation sanlab workshops
Presentation sanlab workshopsPresentation sanlab workshops
Presentation sanlab workshops
 
Why AI is shaping our games
Why AI is shaping our gamesWhy AI is shaping our games
Why AI is shaping our games
 
Adversarial search
Adversarial search Adversarial search
Adversarial search
 
Web Game Development
Web Game DevelopmentWeb Game Development
Web Game Development
 
Js3516731693
Js3516731693Js3516731693
Js3516731693
 
PHP games
PHP gamesPHP games
PHP games
 
Btec assignment-brief unit-20 assignment 2
Btec assignment-brief unit-20 assignment 2Btec assignment-brief unit-20 assignment 2
Btec assignment-brief unit-20 assignment 2
 
Presentation
PresentationPresentation
Presentation
 
Iproduct presentation(final)
Iproduct presentation(final)Iproduct presentation(final)
Iproduct presentation(final)
 
Commuter Game Design
Commuter Game DesignCommuter Game Design
Commuter Game Design
 
Mini Max Algorithm Proposal Document
Mini Max Algorithm Proposal DocumentMini Max Algorithm Proposal Document
Mini Max Algorithm Proposal Document
 
Game Development Methodology Mapped on the EvoGlimpse Video Game Experiment
Game Development Methodology Mapped on the EvoGlimpse Video Game ExperimentGame Development Methodology Mapped on the EvoGlimpse Video Game Experiment
Game Development Methodology Mapped on the EvoGlimpse Video Game Experiment
 
1 computer basics
1 computer basics1 computer basics
1 computer basics
 
An outdoor pervasive game for children.
An outdoor pervasive game for children.An outdoor pervasive game for children.
An outdoor pervasive game for children.
 
Pergames2005 Paper
Pergames2005 PaperPergames2005 Paper
Pergames2005 Paper
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Online gaming culture 4
Online gaming culture 4Online gaming culture 4
Online gaming culture 4
 

Similar to Artificial intelligence

Gameplaying in artificial intelligence
Gameplaying in artificial intelligenceGameplaying in artificial intelligence
Gameplaying in artificial intelligence
oceanparkk
 
Fundamentals of game development overview
Fundamentals of game development overviewFundamentals of game development overview
Fundamentals of game development overview
Chaffey College
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniques
SomnathMore3
 
Overview on computer games
Overview on computer games Overview on computer games
Overview on computer games
Taufiq Hail Ghilan Al-madhagy
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
Omar Enayet
 
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
Johanna Pirker
 
20131105 concepts of game design
20131105 concepts of game design20131105 concepts of game design
20131105 concepts of game design
Christina Hsu
 
Case Studies in Mobile Board Game Conversion
Case Studies in Mobile Board Game ConversionCase Studies in Mobile Board Game Conversion
Case Studies in Mobile Board Game Conversion
Martin Grider
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
Abdelrahman Al-Ogail
 
Introduction To 3D Gaming
Introduction To 3D GamingIntroduction To 3D Gaming
Introduction To 3D Gaming
Clint Edmonson
 
Motivations for AR Gaming - Presentation at NZ GDC 2004
Motivations for AR Gaming - Presentation at NZ GDC 2004Motivations for AR Gaming - Presentation at NZ GDC 2004
Motivations for AR Gaming - Presentation at NZ GDC 2004
Trond Nilsen
 
R.A.W - THE GAME
R.A.W - THE GAMER.A.W - THE GAME
R.A.W - THE GAME
IRJET Journal
 
Orthodoxies and technologies in game design
Orthodoxies and technologies in game designOrthodoxies and technologies in game design
Orthodoxies and technologies in game design
Katharine Neil
 
Game designing using artificial intelligence
Game designing using artificial intelligenceGame designing using artificial intelligence
Game designing using artificial intelligence
duvvuru madhuri
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
Ahmed Hani Ibrahim
 
Overview of Computer Games
Overview of Computer GamesOverview of Computer Games
Overview of Computer Games
Varuna Harshana
 
Game Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game EnginesGame Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game Engines
Jay Crossler
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
butest
 
computer games and its benifites
computer games and its benifitescomputer games and its benifites
computer games and its benifites
oveuoda
 
Artificial Intelligence in Gaming.pptx
Artificial Intelligence in Gaming.pptxArtificial Intelligence in Gaming.pptx
Artificial Intelligence in Gaming.pptx
Md. Rakib Trofder
 

Similar to Artificial intelligence (20)

Gameplaying in artificial intelligence
Gameplaying in artificial intelligenceGameplaying in artificial intelligence
Gameplaying in artificial intelligence
 
Fundamentals of game development overview
Fundamentals of game development overviewFundamentals of game development overview
Fundamentals of game development overview
 
Artificial Intelligence gaming techniques
Artificial Intelligence gaming techniquesArtificial Intelligence gaming techniques
Artificial Intelligence gaming techniques
 
Overview on computer games
Overview on computer games Overview on computer games
Overview on computer games
 
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
 
20131105 concepts of game design
20131105 concepts of game design20131105 concepts of game design
20131105 concepts of game design
 
Case Studies in Mobile Board Game Conversion
Case Studies in Mobile Board Game ConversionCase Studies in Mobile Board Game Conversion
Case Studies in Mobile Board Game Conversion
 
Introduction To My Graduation Project
Introduction To My Graduation ProjectIntroduction To My Graduation Project
Introduction To My Graduation Project
 
Introduction To 3D Gaming
Introduction To 3D GamingIntroduction To 3D Gaming
Introduction To 3D Gaming
 
Motivations for AR Gaming - Presentation at NZ GDC 2004
Motivations for AR Gaming - Presentation at NZ GDC 2004Motivations for AR Gaming - Presentation at NZ GDC 2004
Motivations for AR Gaming - Presentation at NZ GDC 2004
 
R.A.W - THE GAME
R.A.W - THE GAMER.A.W - THE GAME
R.A.W - THE GAME
 
Orthodoxies and technologies in game design
Orthodoxies and technologies in game designOrthodoxies and technologies in game design
Orthodoxies and technologies in game design
 
Game designing using artificial intelligence
Game designing using artificial intelligenceGame designing using artificial intelligence
Game designing using artificial intelligence
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Overview of Computer Games
Overview of Computer GamesOverview of Computer Games
Overview of Computer Games
 
Game Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game EnginesGame Design 1 - Intro and Game Engines
Game Design 1 - Intro and Game Engines
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
 
computer games and its benifites
computer games and its benifitescomputer games and its benifites
computer games and its benifites
 
Artificial Intelligence in Gaming.pptx
Artificial Intelligence in Gaming.pptxArtificial Intelligence in Gaming.pptx
Artificial Intelligence in Gaming.pptx
 

Recently uploaded

[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 

Recently uploaded (20)

[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 

Artificial intelligence

  • 1. Game playing  GAMES ARE FUN! .THEY ARE LIMITED, WELL-DEFINED RULES .THEY PROVIDE ADVANCED, EXISTING TEST-BEDS FOR DEVELOPING SEVERAL IDEAS AND TECHNIQUES THAT ARE USEFUL ELSEWHERE.
  • 2. Area of interest  Definitions  History, Overview  Concepts  Applications  Current trends in this field  One of the most studied and most interesting areas of Artificial Intelligence is game playing. They are Fun, and HARD to create
  • 3. DEFINITION  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  Emphasis of game AI is on developing rational agents to match or exceed human performance
  • 4. Definition cont …  AI has continued to improve, with aims set on a player being unable to tell the difference between computer and human players - remember Turin test?  A game must ‘feel’ natural  Obey laws of the game  Characters aware of the environment  Path finding (A* algorithm)  Decision making  Planning  Game ‘bookkeeping’, scoring  ~50% of game project time is spent on building AI
  • 5. Why are games relevant to AI?  Games are fun!  They are limited, well-defined rules  They provide advanced, existing test-beds for developing several ideas and techniques that are useful elsewhere.  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  Huge state spaces – Games are highly complex! Usually, there is not enough time to work out the perfect move. E.g Go & Chess  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
  • 6. State space  Coarser-grain than Tactical AI (Very Large space search)  Problem solving  Goal formulation  Problem formulation  Search  Solution  Execution
  • 7. The Illusion of Human Behaviour  Game AI is about the illusion of human behaviour  Smart, to a certain extent (Creativity)  Non-repeating behaviour  Unpredictable but rational decisions  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
  • 8. Computer Games Types  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
  • 9. History and overview  Minimax - Developed by John von Neumann in 1928 - This algorithm is used extensively in game theory  Samuel’s learning program (1959) - The program learns through the manipulation of the summation of heuristics. - If the program wins, it raises high heuristic values and lowers low ones. If it loses, it does the opposite.  1960s - Progress and success in Game AI. - Creating a successful AI meant coming up with the right rules for it to follow. 1970s-1980s - Transition to games as entertainment - Using search based AI to emulate entertaining characters would be unnatural and clumsy - Game play is based more on skill than on rules  Early 1990s - Increased realism becomes the primary focus of the game industry - A rift develops between the developers of popular games and AI researchers
  • 10. CONCEPTS Technologies / techniques used  Machine learning  Waypoint Graph  Continuous Control  Cellular Automata  Case Based Reasoning  Blend Database  Dynamic Programming  Finite State Machines  Fuzzy Logic  Influence Mapping  Motion Graph  Motion Capture  Navigation Mesh  Navigation Graph  Artificial Neural Networks  Policy Search  Path Planning  Path Following  Steering  Alpha-Beta pruning  MiniMax
  • 11. Game setup  Two players: A and B  A moves first and they take turns until the game is over. Winner gets award, loser gets penalty.  Games as search:  Initial state: e.g. board configuration of chess  Successor function: list of (move, state) pairs specifying legal moves.  Terminal test: Is the game finished?  Utility function: Gives numerical value of terminal states. E.g. win (+1), lose (-1) and draw (0) in tic-tac-toe  A uses search tree to determine next move.
  • 12. How to Play a Game by Searching  General Scheme -Consider all legal moves, each of which will lead to some new state of the environment (‘board position’)  Evaluate each possible resulting board position  Pick the move which leads to the best board position.  Wait for your opponent’s move, then repeat.  Key problems  Representing the ‘board’  Representing legal next boards  Evaluating positions  Looking ahead
  • 13. Applications  Training Simulators  Effective training often requires thousands of people  Computer generated stand-ins can cut costs  Military simulations  Management simulations  Economic simulations  Education  Software for pre-school children  Entertainment  Virtual Environments  Simulated worlds allows AI researchers to concentrate on algorithms instead of sensors  Again, computer generated robots are cheaper than actual robots
  • 14. Applications  Human-level AI  Every person is an expert on human-level intelligence  Testing of AI is easy  Movies  Crowd scenes  Flocking behavior  Realistic Movement
  • 15. Game AI Major Challenges  Resources - Realism in computer games focused on graphics - Advanced graphics requires many CPU cycles - Recent advances in computer hardware have someone alleviated this issue.  Deadlines - Game engine must be developed before AI can be tested - AI programmers often have to compromise to meet deadlines  Over Intelligence - Perfect AI would be easier to code - It would lack believability and not be fun. - Human-level AI should quit, surrender, or run away- even fight to the end.  Research and Development - Lack of cohesion between AI research community and game developers - AI in modern computer games seems trivial to AI researchers
  • 16. Summary  Games are to AI as grand prix racing is to automobile design Games are fun to work on (and dangerous)  They illustrate several important points about AI  perfection is unattainable, must approximate  it is a good idea to think about what to think about  uncertainty constrains the assignment of values to states
  • 17. References  Artificial Intelligence: A Modern Approach' (Second Edition) by Stuart Russell and Peter Norvig, Prentice Hall Pub.  http://www.cs.umbc.edu/471/notes/pdf/games.pdf  http://l3d.cs.colorado.edu/courses/AI-96/sept23glecture.pdf  Theodore L. Turocy, Texas A&M University, Bernhard von Stengel, London School of Economics "Game Theory" CDAM Research Report Oct. 2001  http://www.uni-koblenz.de/~beckert/Lehre/Einfuehrung-KI-SS2003/folien06.pdf [6] http://ai-depot.com/LogicGames/MiniMax.html