Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Path Finding - Thinking Like Computers - Lecture Slides, Slides of Artificial Intelligence

During the course work of Thinking Like Computers, we study the key concept of artificial intelligence. The main points in these lecture slides are:Path Finding, Building Characters, Simplified Path, Simple Strategy, Offensive Strategy, Field-Of-View Considerations, Large Maps Segregation, Reasoning Loop, Finite State Machines, Internal States

Typology: Slides

2012/2013

Uploaded on 04/24/2013

banani
banani 🇮🇳

4.3

(3)

91 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
CSCI 100
Think Like Computers
Lecture 8
Fall 2008
Case Study: Video Game AI
Video games can be viewed as a testbed
for AI
Entertainment
Building characters (for training)
Path Finding
FPS game
NPC vs Player
NPC:
attack if healthy
avoid if injured
Need to move
NPC
Simplified Path
Simple Strategy
Healthy?
Offensive
Strategy
Defensive
Strategy
Yes No
Offensive Strategy
Docsity.com
pf3
pf4

Partial preview of the text

Download Path Finding - Thinking Like Computers - Lecture Slides and more Slides Artificial Intelligence in PDF only on Docsity!

CSCI 100

Think Like Computers

Lecture 8

Fall 2008

Case Study: Video Game AI

  • Video games can be viewed as a testbed for AI
  • Entertainment
  • Building characters (for training)

Path Finding

  • FPS game
  • NPC vs Player
  • NPC: Š attack if healthy Š avoid if injured
  • Need to move NPC

Simplified Path

Simple Strategy

Healthy?

Offensive Strategy

Defensive Strategy

Yes (^) No

Offensive Strategy

Defensive Strategy Discussions

  • Path finding by successive moves (lookups).
  • Add some randomness to increase the unpredictability
  • Field-of-View (FOV) considerations

For Large Maps: Segregation Beyond Path-finding

  • Make the NPC more intelligent
  • This means the NPC needs to behave differently in different situations (environments)

The Reasoning Loop

  • Perceive (see, hear, etc)
  • Reason: what is to be done
  • Act: perform actions – the behavior

Reasoning Loop

Example

  • Imagine you have 1000 image files DSC nnnn .JPG, and you want to: Š Change their names to Pic nnnn .jpg

Another Example

  • You have a list of names and emails, you want to send each of them a customized letter for marketing, fundraising, etc