RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila.

Slides:



Advertisements
Similar presentations
Exploring Machine Learning in Computer Games Presented by: Matthew Hayden Thurs, 25 th March 2010.
Advertisements

Game Genres: First Quick Look H. Muñoz-Avila Disclaimer: I use these notes as a guide rather than a comprehensive coverage of the topic. They are neither.
7.1. O SCARS & A RTIFICIAL I NTELLIGENCE Interim awards and introduction to game AI.
Finite State Machines in Games
A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft Santiago Ontanon, Gabriel Synnaeve, Alberto Uriarte, Florian Richoux, David.
Artificial Intelligence in Real Time Strategy Games Dan Li.
Machine Learning in Computer Games Learning in Computer Games By: Marc Ponsen.
Michael Zyda Finite State Machines Michael Zyda
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Hierarchical Plan Representations for Encoding Strategic Game AI Hai Hoang Stephen Lee-Urban Héctor Muñoz-Avila Lehigh University
Automated Planning & Computer Games: Perspectives and Applications Hector Munoz-Avila.
Artificial Intelligence in Game Design Hierarchical Finite State Machines.
CS-378: Game Technology Lecture #16: AI Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney, Zoran Popovic, Jessica Hodgins.
“Programming” Games Without Programming (sort of) H. Muñoz-Avila Jarret Raim Jonathan Martin.
10/30/2001CS 638, Fall 2001 Today AI –Overview –State Machines.
Video Game Artificial Intelligence April 9, 2007 Alex Rito.
And Just Games etc.. EVOLUTION OF COMPUTER GAMES PongOdyssey Beginning of the use of microprocessors ATARI VCS system bit.
Reminder Next class (Tuesday), you should have formed groups and select a topic for presentation among: (1)Real-Time Strategy games (Luis Villegas, Dulmovits,
Artificial Intelligence in Video Games Jason Fuller 1.
AI and GAMES CSC 8520, Villanova University Spring, 2004 Paula Matuszek & Robin McEntire.
Zubair Chaudary, Kenny Rentschler, Constantin Savtchenko.
Artificial Intelligence in Game Design Problems and Goals.
Squad Tactics Presentation By: Danny Powell, Andrew Pro, and Kofi White.
Game AI versus AI What is the difference between Game AI an AI? Can this difference be overcome? What is an attack Kung-Fu style? Discuss some alternatives.
Studio Practice Level Design 3D-Content Generation Coding Conceptual Art (and Architecture) Project Management (3 rd Year) Teamwork (3 rd year) Theoretical.
Video Game AI. Classical Games – Focus on optimal players using computationally expensive search techniques Video Game AI – Refers to games such as First.
Reinforcement Learning and Markov Decision Processes: A Quick Introduction Hector Munoz-Avila Stephen Lee-Urban
Introduction GAM 376 Robin Burke Winter Outline Introductions Syllabus.
More precisely called Branch of AI behind it.
Knowledge acquisition for adative game AI Marc Ponsen et al. Science of Computer programming vol. 67, pp , 2007 장수형.
Strategic Planning for Unreal Tournament© Bots Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA Héctor.
Artificial Intelligence in Game Design
1 The Use of Artificial Intelligence in the Computer Game Industry.
Artificially Intelligent Smart Objects in Modern Computer Games Presentation by: Venetsian T. Jakimov.
RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila.
Game AI versus AI (H. Muñoz-Avila) What is the difference between Game AI an AI? Can this difference be overcome? What is an attack Kung-Fu style? Discuss.
Game AI versus AI: An Introduction to AI Game Programming Héctor Muñoz-Avila.
Review IMGD Engine Architecture Types Broadly, what are the two architecture types discussed for game engines? What are the differences?
AI in Computer Gaming: The first person shooter Tyler Hulburd.
Machine Learning in Computer Games Marc Ponsen 11/29/04.
Machine Learning in Computer Games Automated GenerationTactics for Strategy Games Original: Marc Ponsen Update: H. Munoz-Avila.
AI and Computer Games (informational session) Lecture by: Dustin Dannenhauer Professor Héctor Muñoz-Avila Computer Science and Eng.
Hierarchical Plan Representations for Encoding Strategic Game AI Hai Hoang Stephen Lee-Urban Héctor Muñoz-Avila Lehigh University
AI in games Roger Crawfis CSE 786 Game Design. AI vs. AI for games AI for games poses a number of unique design challenges AI for games poses a number.
Mike Taks Bram van de Klundert. About Published 2005 Cited 286 times Kenneth O. Stanley Associate Professor at University of Central Florida Risto Miikkulainen.
Artificial Intelligence for Games Finite State Machines
Designing Realtime Systems & Embedded Systems B. Ramamurthy CSE /13/20151.
RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila.
Artificial Intelligence Research in Video Games By Jacob Schrum
F.E.A.R. Game AI Evaluation by Robert Rak. What is F.E.A.R. ? FEAR is a First Person Shooter game Player takes on the role of an elite strike force team.
Artificial Intelligence in Games
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Game AI Matthew Hsieh Meng Tran. Computer Games Many different genres  Action  Role Playing  Adventure  Strategy  Simulation  Sports  Racing Each.
RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila.
Dynamic Mission Planning for Multiple Mobile Robots Barry Brumitt and Anthony Stentz 26 Oct, 1999 AMRS-99 Class Presentation Brian Chemel.
Finite State Machines GAM 376 Robin Burke Fall 2006.
Finite State Machines Logical and Artificial Intelligence in Games Lecture 3a.
10/23/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Terrain Generation We’re pretty much done with the graphics part of the course.
The History of RTS Games Héctor Muñoz-Avila sources: Wikipedia.org.
Evolutionary Computing Systems Lab (ECSL), University of Nevada, Reno 1 Authors : Siming Liu, Christopher Ballinger, Sushil Louis
The Game Development Process: Artificial Intelligence.
Review IMGD Engine Architecture Types Broadly, what are the two architecture types discussed for game engines? What are the differences?
Team Member AI in an FPS and Goal Oriented Action Planning.
Automated Planning & Computer Games: Perspectives and Applications
Enemy and Friendly AIs Richard Gesick.
CO Games Development 2 Week 19 Extensions to Finite State Machines
CIS 488/588 Bruce R. Maxim UM-Dearborn
Interaction with artificial intelligence in games
RECAP CSE 397/497 Topics on AI and Computer Game Programming
Artificial Intelligence in Games Week 7
Presentation transcript:

RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila

Course Goal Our goal was to understand the connections and the misconceptions from both sides AI research A C B ABC AC B C B A B A C B A C BC A C A B A C B B C A AB C A B C A B C “AI” as game practitioners implemented it projects (me) (you)

Controlling the AI Opponent: FSMs FSM: States, Events and Actions Stack Based FSM’s Polymorphic FSM Multi-tier FSM Spawn D Wander ~E,~S,~D ~E D Attack E,~D ~E E E D ~S Chase S,~E,~D E S S D Soldier RiflemanOfficer BritishSoviet AmericanGerman Machine Gunner BritishSoviet AmericanGerman BritishSoviet AmericanGerman Robocode Planning Operators Patrol  Preconditions: No Monster  Effects: patrolled Fight  Preconditions: Monster in sight  Effects: No Monster PatrolFight Monster In Sight No Monster FSM: A resulting plan: Patrol patrolled Fight No Monster Monster in sight (Finite State Machines in Games

Controlling the AI Opponent: Hierarchical Planning UT task: Domination Strategy: secure most locations UT action: move Bot1 to location B Hierarchical planning Start Turn Right Go-through Door Pick-up Powerup Wander Attack Chase Spawn ~E E ~S S D ~E Hierarchical FSM

Controlling NPCs Individual Animation Controller approach Layers categorized by regions of body that they affect Reputations: Create global reputations based on average of other’s opinions Autonomous behavior by establishing ownership of the objects (Elizabeth Carter) Squad Tactics decentralized centralized Commander Captain Sergeant Soldier Orders Information (danny powell, andrew pro, Kofi White) Special Forces

Path-Finding Navigation Navigation set hierarchy Interface tables Reduction memory Increase performance A*

Controlling AI Opponent: Learning Induction of Decision Trees DOM  Reinforcement Learning 7 Training script 1 Training script 2 …. Training script n Counter Strategy 1 Counter Strategy 2 …. Counter Strategy n Evolutionary Algorithm Evolve Domain Knowledge Knowledge Base Revision Manually Extract Tactics from Evolved Counter Strategies Combat team controlled by human player team controlled by computer A B If owning locations 1 and 2, and 3 then defend locations 1, 2, and 3 induction Decision Tree

Game Genres First-Person Shooters A lot of path finding issues Assigning values to locations and to paths (Constantin Savtchenko, Zubair R. Chaudary, Kenneth H. Rentschler) Racing games (Emily Cohen) Racing vehicle control Multi-layer system Each layer defines behavior Optimal racing line (Jim Pratt, Qihan Long, Austin Borden)

Game Genres RTS RTS Game Components  Civilization  Build  Unit  Resource  Research  Combat Wargus Role Playing Games Level of Detail Reputation system (Anthony Scimeca, Mike Rowan) (Xu Lu)

Game Genres Sport Games Dead Reckoning  Military origins  Use in Sport Games Possible transitions for modeling behaviors (Dylan Evans, Matt Kenig Robocode Turn and Go GoTag Up FreezeSlide Turn and Look Go Back Go Halfway

Other Crucial Topics Player Modeling Hierarchical model of what a player can do Heuristic values for preference of states  determine player strategy Taxonomy of storylines (Mike Pollock, Kipp W. Hickman, Chirs Boston) Story line, drama Propp’s approach: lineal story Barthes: allow ramifications Dialog managers using  finite state machines  planning Fractions versus behavior (Mike Chu, Joey Blekicki, Stephen Kish )

Other Game AI Topics Game Trees (Mike Pollock, Kipp W. Hickman, Chirs Boston) Used to determine game difficulty With appropriate evaluation functions avoid needing to construct the whole tree EF(state) = w 1 f 1 (state) + w 2 f 2 (state) + … + w n f n (state) Programming Projects Finite State Machines RTS Team-based simulation Simulate some of the real game developing conditions:  Working with someone else’s code  tight deadlines  need lots of trial and error to tune the AI

2010 Hall of Fame Project # 1. Robocode. Tournament winner: Chris Boston, Kipp Hickmann, Michael Pollock "The Enraged Armored Mob" (TEAM). Innovation winner: Elizabeth Carter (Reinforcement Learning) Project # 2. DOM. Tournament winner: Chris Boston, Kipp Hickmann, Michael Pollock "Tactical Efficient Anti-social Macabre" (TEAM) Innovation winner: TEAM Project # 3. Special Forces Tournament winner: Chris Boston, Kipp Hickmann, Michael Pollock Target Extermination Aiming Maneuvering (TEAM). Innovation winner: Mike Rowan, Anthony Scimeca. The Cover Up. Project # 4: Wargus Tournament winners: Constantin Savtchenko, Zubair R. Chaudary, Kenneth H. Rentschler. Segfault Jim Pratt, Qihan Long, Austin Borden  Almost all beat default connected map  Most beat default connected map variant  Only the two above beat disconnected map

Acknowledgements All of you: –Presentations were geneally very good –Projects were worked well (despite difficulties) –All master groups made their projects work –Changes for future iterations of this course: Adjust Wargus, Balance Special Forces

Final Summary AI research A C B ABC AC B C B A B A C B A C BC A C A B A C B B C A AB C A B C A B C “AI” as game practitioners implemented it A* AI Planning  HTN Planning Heuristic evaluation Machine learning  Decision Trees  Reinforcement learning  Dynamic scripting Game trees Programming Finite State Machines RTS Team-based simulation Last project: AI that works in any map Genres First-person shooter Real-time strategy Racing games Team sports Role-playing games Path finding Look-up tables Waypoints Other crucial topics Player modeling Story line, drama NPC behavior Individual Team