AI and GAMES CSC 8520, Villanova University Spring, 2004 Paula Matuszek & Robin McEntire.

Slides:



Advertisements
Similar presentations
The Halo 2 AI In 10 Minutes or Less Damián Isla Bungie Studios
Advertisements

Chapter 09 AI techniques in different game genres (Puzzle/Card/Shooting)
Video Game Design Game Maker Ms. Scales. What is game design? Is it art? It is all about artistic expression. Is it technical? Just follow some deign.
7.1. O SCARS & A RTIFICIAL I NTELLIGENCE Interim awards and introduction to game AI.
Artificial Intelligence. Intelligent? What is intelligence? computational part of the ability to achieve goals in the world.
Intelligent Agents Russell and Norvig: 2
CS 4700: Foundations of Artificial Intelligence Bart Selman Reinforcement Learning R&N – Chapter 21 Note: in the next two parts of RL, some of the figure/section.
Artificial Intelligence in Game Design Heuristics and Other Ideas in Board Games.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
Patterns in Game Design Chapter 9: Game Design Patterns for Narrative Structures, Predictability, and Immersion Patterns CT60A7000 Critical Thinking and.
C SC 421: Artificial Intelligence …or Computational Intelligence Alex Thomo
Spring 2007COMP Design Teams Team Structure Interdisciplinary Teams.
Aug 24, Fall 2005ITCS4010/50101 Design Teams Team Structure Interdisciplinary Teams.
RED DEAD REVOLVER Artificial Intelligence Critique By Mitchell C. Dodes CIS 588.
Game Playing CSC361 AI CSC361: Game Playing.
Reinforcement Learning in Real-Time Strategy Games Nick Imrei Supervisors: Matthew Mitchell & Martin Dick.
And Just Games etc.. EVOLUTION OF COMPUTER GAMES PongOdyssey Beginning of the use of microprocessors ATARI VCS system bit.
Sep 14, Fall 2006IAT 4101 Design Teams Team Structure Interdisciplinary Teams.
Chapter 12 Instructional Methods
RoboCup: The Robot World Cup Initiative Based on Wikipedia and presentations by Mariya Miteva, Kevin Lam, Paul Marlow.
Circle of Interactive Media  Actions, reflected in the interface  How the actions impact relevant systems  How systems produce feedback, outcomes,
Developing Effective Questioning In Teaching Games For Understanding (TGfU) Pearson & Webb, 2008.
1 AI and Agents CS 171/271 (Chapters 1 and 2) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Chapter 10 Artificial Intelligence. © 2005 Pearson Addison-Wesley. All rights reserved 10-2 Chapter 10: Artificial Intelligence 10.1 Intelligence and.
TECHNOLOGY. Computer games have always been driven by technology. For many years it was advances in graphics that changed the way computer games were.
TEACHING SKILLS International Ice Hockey Federation Learn To Play Program Sheffield, England October 17, 2004.
Introduction GAM 376 Robin Burke Winter Outline Introductions Syllabus.
More precisely called Branch of AI behind it.
Survey of AI for games. AI vs. AI for games Traditional AI: – Made to handle unseen inputs, large state space – Too many options possible to compute an.
Serious Games and Simulations. The business of using videogames or videogame technologies for purposes other than entertainment.
Artificial Intelligence Techniques Artificial Stupidity?
AI in Computer Gaming: The first person shooter Tyler Hulburd.
Action games are video games that request from the player to use reflexes, precision, having sense of time in order to overcome different obstructions.
Violence Language Blood and Gore Sexual Themes Nudity Drug Abuse Use of Alcohol.
Artificial Intelligence By Michelle Witcofsky And Evan Flanagan.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
CSC Intro. to Computing Lecture 22: Artificial Intelligence.
Chap. 1 GENERAL WISDOM AI Game Programming Wisdom.
© 2009 All Rights Reserved Jody Underwood Chief Scientist
I Robot.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
1 CO Games Development 1 Week 2 Game Agents Gareth Bellaby.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
Gameplay Creating the Experience. Definition Choices, challenges, or consequences that players face while navigating a virtual environment. Gameplay is.
First Grade Reading Workshop
Artificial intelligence
AI Evaluation David Nowell CIS 588 2/14/05 Baldur’s Gate.
DEVELOPMENT OF COMPETITIVE SPIRIT
KNOWLEDGE BASED SYSTEMS
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Artificial Intelligence in Games
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2004.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 10: Tools.
Timeline periods left before end of Unit 2 End of unit 2 – Friday, 7 th November (4 weeks from today) Exams 10 – 14 th November Transition classes.
Designing Intelligence Logical and Artificial Intelligence in Games Lecture 2.
AI and GAMES. Some games to explore Yahoo AI Games directory. Mostly chatbots; 20 questions is good. Yahoo AI Games directory. Mostly chatbots; 20 questions.
Introduction: What is AI? CMSC Introduction to Artificial Intelligence January 7, 2003.
AI Overview Logical and Artificial Intelligence in Games Lecture 1.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
The Game Development Process: Artificial Intelligence.
Artificial Intelligence
Team Member AI in an FPS and Goal Oriented Action Planning.
RoboCup: The Robot World Cup Initiative
Fundamentals of Information Systems, Sixth Edition
CS 4700: Foundations of Artificial Intelligence
Fundaments of Game Design
Interaction with artificial intelligence in games
Presentation transcript:

AI and GAMES CSC 8520, Villanova University Spring, 2004 Paula Matuszek & Robin McEntire

Some games to explore Yahoo AI Games directory. Mostly chatbots; 20 questions is good. Yahoo AI Games directory. Mostly chatbots; 20 questions is good. Yahoo AI Games directory 20 questions Yahoo AI Games directory 20 questions Yahoo Artificial Life. I like Insaniquarium. Yahoo Artificial Life. I like Insaniquarium. Yahoo Artificial Life Insaniquarium Yahoo Artificial Life Insaniquarium Chinook. The world man-machine champion checkers player. Chinook. The world man-machine champion checkers player. Chinook. A Mastermind variant. A Mastermind variant. A Mastermind variant A Mastermind variant Othello (Reversi). One of the classic neural net testbeds. Othello (Reversi). One of the classic neural net testbeds. Othello (Reversi) Othello (Reversi) Battleship (Armada). Battleship (Armada). Battleship (Armada). Battleship (Armada). The entire Yahoo web games directory can be fun to explore. Which of these seem to have an AI component? The entire Yahoo web games directory can be fun to explore. Which of these seem to have an AI component?Yahoo web games directoryYahoo web games directory

GAMES and AI Most of these games are using AI. Here are some discussion points: Most of these games are using AI. Here are some discussion points: Agents: which of these games have autonomous agents? What’s the PEAS description? Agents: which of these games have autonomous agents? What’s the PEAS description? What AI techniques are being used? What AI techniques are being used? –A* search (eg, for path finding) –Alpha-Beta search (eg, for choosing a move) –Knowledge representation –Natural language processing –Artificial life and flocking/swarming –Reasoning –Learning

Insaniquarium Agents with PEAS? Agents with PEAS? –Performance measure –Environment –Actuators –Sensors Search? Search? Knowledge Representation? Knowledge Representation? Natural Language processing? Natural Language processing? Logic and inference? Logic and inference? Other? Other?

Chinook Agents with PEAS? Agents with PEAS? –Performance measure –Environment –Actuators –Sensors Search? Search? Knowledge Representation? Knowledge Representation? Natural Language processing? Natural Language processing? Logic and inference? Logic and inference? Other? Other?

Battleship Agents with PEAS? Agents with PEAS? –Performance measure –Environment –Actuators –Sensors Search? Search? Knowledge Representation? Knowledge Representation? Natural Language processing? Natural Language processing? Logic and inference? Logic and inference? Other? Other?

Mastermind Agents with PEAS? Agents with PEAS? –Performance measure –Environment –Actuators –Sensors Search? Search? Knowledge Representation? Knowledge Representation? Natural Language processing? Natural Language processing? Logic and inference? Logic and inference? Other? Other?

Role Playing Games: Non-Player Characters (Helpers, Opponents) Agents with PEAS? Agents with PEAS? –Performance measure –Environment –Actuators –Sensors Search? Search? Knowledge Representation? Knowledge Representation? Natural Language processing? Natural Language processing? Logic and inference? Logic and inference? Other? Other?

Summary Even very basic AI can contribute to games in a variety of ways. Even very basic AI can contribute to games in a variety of ways. Most important single AI technique for gaming? Probably A*. Most important single AI technique for gaming? Probably A*. AI can provide opponents, partners, support characters, story directors, commentators. AI can provide opponents, partners, support characters, story directors, commentators. AI and artificial life are fun. ALife doesn’t have to be Turing-test level of intelligence for good gaming. AI and artificial life are fun. ALife doesn’t have to be Turing-test level of intelligence for good gaming.

From a GAME perspective There are two fields that are relevant here AI: AI: –AI has techniques to contribute to games. –Games are a fertile field for AI research. Games: Games: –Gaming has enormous market importance. –Games are growing increasingly sophisticated in all dimensions –A game has to be fun; use whatever AI techniques aid that.

Game Design, Game AI Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Background: Game Genres Racing – other cars Racing – other cars Action – enemies, allies Action – enemies, allies Real Time Strategy (RTS) –units, commanders (for both sides) Real Time Strategy (RTS) –units, commanders (for both sides) Role Playing Games (RPG) – monsters, party members, Non Player Characters Role Playing Games (RPG) – monsters, party members, Non Player Characters Sports – players, coaches, commentators Sports – players, coaches, commentators Shooter – targets, more targets Shooter – targets, more targets Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Obvious Examples of AI Car Game – write a virtual driver Car Game – write a virtual driver Shooter – write a virtual player Shooter – write a virtual player Sports Games – write a virtual coach Sports Games – write a virtual coach RTS – write a virtual general RTS – write a virtual general Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Mini Case Study: Racing Game History No “AI” cars, only real players are drivers No “AI” cars, only real players are drivers “AI” cars which follow scripted path “AI” cars which follow scripted path Follow path, adjust speed Follow path, adjust speed Feedback system to follow path Feedback system to follow path “Rubber band” near player “Rubber band” near player Attempt to have driver “personality” Attempt to have driver “personality” Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Somewhat Real Examples Car Game – write AI to keep races close Car Game – write AI to keep races close Shooter – enemies die lots, win little Shooter – enemies die lots, win little Sports – commentators, help player Sports – commentators, help player RTS – generals who work on pacing RTS – generals who work on pacing It is A Question of Design Purpose It is A Question of Design Purpose Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Game Development What is the goal for Player Experience? What is the goal for Player Experience? How is the AI going to further that goal? How is the AI going to further that goal? Role of the designer Role of the designer Role of the programmer Role of the programmer How “design” evolves How “design” evolves Constraints Constraints Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Roles of a Game AI Tool for the designer Tool for the designer Foil for the player, creates opportunity Foil for the player, creates opportunity Dynamic challenge Dynamic challenge Events: Emulation v. Simulation Events: Emulation v. Simulation Assists in Driving the action Assists in Driving the action Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Shipping Games vs. Test Code Hard constraint on CPU usage Hard constraint on CPU usage Reproducibility is vital, for test and design Reproducibility is vital, for test and design Must be fun, not correct Must be fun, not correct Must succeed, finish, do something, always Must succeed, finish, do something, always Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Mini Case Study The Thief AI Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Design Goals Player is going to be a Thief Player is going to be a Thief i.e. Sneak Around, Ambush, Hide, Steal i.e. Sneak Around, Ambush, Hide, Steal –AI must allow players to make plans –And react to player actions, provide challenge Game will feature a loose overall story Game will feature a loose overall story –Ability to script/override behavior –In-game actions fed back out to story control Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

“Watch-able” by the player Has to “go about it’s business” with intent Has to “go about it’s business” with intent Actions must make sense to player Actions must make sense to player –“interestingly predictable” –present play opportunities for player Overemphasize thoughts Overemphasize thoughts –Telegraph all actions –Goals must be very explicit Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Implementation Model senses, detection, awareness Model senses, detection, awareness Simple event based “reaction” scripts Simple event based “reaction” scripts Tagging of world objects which notify AI Tagging of world objects which notify AI Patrol paths, dynamic “go-to-object” Patrol paths, dynamic “go-to-object” Rule based match database for speech Rule based match database for speech Heavily designer driven, toolset approach Heavily designer driven, toolset approach Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Requirements Focus on the Player Experience Focus on the Player Experience Allow player to understand AI actions Allow player to understand AI actions Needs to achieve design aim (and fun) Needs to achieve design aim (and fun) Configurable, Override-able, Testable Configurable, Override-able, Testable Satisfies data and speed constraints Satisfies data and speed constraints Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt

Themes Player Player Player Player Player Player Player Player Player Player Player Player How can AI enhance player experience How can AI enhance player experience AI is facilitator of the “fun” AI is facilitator of the “fun” Enable creative expression for player Enable creative expression for player –Allow player to impact the world –Put player in interesting situations Based on: Doug Church, October, 2001: ai.eecs.umich.edu/people/laird/game-seminar/Doug-Church.ppt