Who am I? AI in Computer Games. Goals. AI in Computer Games. Game categories. Game A(I?)

Similar documents
Research Directions in Computer Game AI. Rafael Cabredo

Computer & Video Game Genres. CSCI 130 Computer Game Design Prof. Jason Fritts

IMGD The Game Development Process: Fun and Games

Game Design From Concepts To Implementation

BSc in Artificial Intelligence and Computer Science ABDAL MOHAMED

Game Genres. Video Game Technologies 10531: MSc in Computer Science and Engineering 11156: MSc in Game Design and Development. Chap.

Digital games history and genres

Artificial Intelligence (AI)

Game Artificial Intelligence Literature Survey on Game AI

GAME:IT. Designing Good Games

Introduction Computer stuff Pixels Line Drawing. Video Game World 2D 3D Puzzle Characters Camera Time steps

Improving the Performance of a Computer-Controlled Player in a Maze Chase Game using Evolutionary Programming on a Finite-State Machine

City University of Hong Kong

What is Artificial Intelligence?

Learning Object-Oriented Design by Creating Games 1

2IOE0 Interactive Intelligent Systems

Teaching Introductory Artificial Intelligence with Pac-Man

INTERNSHIP REPORT CSC410. Shantanu Chaudhary 2010CS50295

Artificial intelligence (AI) specialists in Games design and programming

Using Emergent Behavior to Improve AI in Video Games

Game playing. Chapter 6. Chapter 6 1

Course Outline Department of Computing Science Faculty of Science. COMP Applied Artificial Intelligence (3,1,0) Fall 2015

Board Games They are adaptations of classic board games. Examples of board games include Chess, Checkers, Backgammon, Scrabble and Monopoly.

Artificial Intelligence in The Sims series. Yoann Bourse

Pacman 3D. Suggestions Multiple levels Powerups that let Pacman chase and eat Ghosts; ghosts need to respawn

Overview. Swarms in nature. Fish, birds, ants, termites, Introduction to swarm intelligence principles Particle Swarm Optimization (PSO)

Computer Game Programming Intelligence I: Basic Decision-Making Mechanisms

How To Get A Computer Engineering Degree

Optimization in Strategy Games: Using Genetic Algorithms to Optimize City Development in FreeCiv

Facts and figures XS SOFTWARE : WE ARE PROUD OF : Is a leading international company - specializing in browser games for over 9 years now

playing smart artificial intelligence in computer games

About the Author. The Role of Artificial Intelligence in Software Engineering. Brief History of AI. Introduction 2/27/2013

1. Scope of Games and Game Systems. 2. Evolution of Current Game Designs. 3. New Game Forms Utilising New and Emerging Technical Media

COMP 590: Artificial Intelligence

School of Computer Science

Machine Learning: Overview

Why is the design of a computer game important?

How Video Game History Shows Us Why Video Game Nostalgia Is So Important Now

CSE 517A MACHINE LEARNING INTRODUCTION

Projects - Neural and Evolutionary Computing

Georgia Institute of Technology ASE 6003: Modeling & Simulation for Systems Engineering

Follow the Leader: a Scalable Approach for Realistic Group Behavior of Roaming NPCs in MMO Games

Evolution of Video Games

26 Developing. computer games. Learning outcomes. Credit value: 10

Professional Organization Checklist for the Computer Science Curriculum Updates. Association of Computing Machinery Computing Curricula 2008

Developing an Artificial Intelligence Engine

Game Development Fundamentals

DM810 Computer Game Programming II: AI. Lecture 11. Decision Making. Marco Chiarandini

Designing Competitive Bots for a Real Time Strategy Game using Genetic Programming

Artificial Intelligence and Politecnico di Milano. Presented by Matteo Matteucci

Game Engineering. Dennis Dedaj Department Informatik HAW Hamburg 20. Mai 2008

Ludology. Ludology: Psychology of fun. Remembering from last time. Thinking like a gamer

The 3D rendering pipeline (our version for this class)

Age of Wonders I Quick Start Guide

increasing number of researchers itself. studying these phenomena and their implications for the education systems, see e.g. (Prensky 2001).

Index. 2D arrays, 210

M.S. Computer Science Program

CS440/ECE448: Artificial Intelligence. Course website:

Article final draft. Final version appeared in Game Programming Gems 8.

Evolutionary Algorithms Software

21 st Century Knowledge Worker: the Centaur

3D Android game Hide-n-Seek

CS MidTerm Exam 4/1/2004 Name: KEY. Page Max Score Total 139

CSC384 Intro to Artificial Intelligence

Homeschool Programming, Inc.

Digital 3D Animation

EXECUTIVE SUPPORT SYSTEMS (ESS) STRATEGIC INFORMATION SYSTEM DESIGNED FOR UNSTRUCTURED DECISION MAKING THROUGH ADVANCED GRAPHICS AND COMMUNICATIONS *

An Emergent Approach to Game Design Development and Play. Penelope Sweetser

Learning Agents: Introduction

LONG BEACH CITY COLLEGE MEMORANDUM

Course 395: Machine Learning

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / October 3, 2012

OCR LEVEL 3 CAMBRIDGE TECHNICAL

Measuring Entertainment and Automatic Generation of Entertaining Games

Learning is a very general term denoting the way in which agents:

Draft dpt for MEng Electronics and Computer Science

Business Information Systems. IT Enabled Services And Emerging Technologies. Chapter 4: Facilitated e-learning Part 1 of 2 CA M S Mehta, FCA

Predictive Act-R (PACT-R)

OCR LEVEL 3 CAMBRIDGE TECHNICAL

10. Machine Learning in Games

Optimization in ICT and Physical Systems

Fundamentals of Computer Science (FCPS) CTY Course Syllabus

THE GAME CHANGING TO DRIVE CHANGE FOR FIELD SERVICE

Computer Science Introduction

Artificial Intelligence and Asymmetric Information Theory. Tshilidzi Marwala and Evan Hurwitz.

Content. Massively Multiplayer Online Games Previous Work. Cluster-based Approach. Evaluation Conclusions. P2P-based Infrastructure

Beyond video games: New artificial intelligence beats tactical experts in combat simulation 27 June 2016, by M.b. Reilly

Two teams per chapter, three per state. Minimum of 2 students per team Students who excel in the following:

Enhancing Gameplay: Challenges for Artificial Intelligence in Digital Games

Computer Science. Master of Science

Roulette Wheel Selection Game Player

ARTIFICIAL INTELLIGENCE: DEFINITION, TRENDS, TECHNIQUES, AND CASES

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / September 23, 2014

Computer Science Information Sheet for entry in What is Computer Science?

Computing Unit Planner: Year 5 Unit 1 Quiz and Game

Computer Animation and Visualisation. Lecture 1. Introduction

AI-Based Game Design Patterns

Introduction to Simulink & Stateflow. Coorous Mohtadi

Hardware Limited Artificial Intelligence: Desirability Assessment for Board Games. By Andy Matange & Michael Daly

Search Algorithm in Software Testing and Debugging

Transcription:

Who am I? AI in Computer Games why, where and how Lecturer at Uppsala University, Dept. of information technology AI, machine learning and natural computation Gamer since 1980 Olle Gällmo AI in Computer Games Goals Game categories History Common issues and methods Issues in various game categories Goals Games are entertainment! Important that things behave naturally not necessarily perfect "things" are not always creatures Follow (the game's) natural laws and avoid cheating Characters should be aware Game A(I?) Academic AI is usually concerned with making rational decisions Searching for the optimal solution Game AI is more often about Artificial Life Believable behaviour including stupidity realistic physics Game balancing challenging, but not unbeatable opponents Game categories Role Playing Games (RPG, MMORPG) First Person (Third Person) Shooters (FPS/TPS) Strategy games (RTS, DTS, 4X) Sports games Simulation games Adventure games Classic strategy games Fighting games... 1

History -1980 1960's First computer games Chess SpaceWar! (PDP1, for two human players) (1962) Board games (e.g. chess) against the machine History -1980 1960's First computer games Chess SpaceWar! (PDP1, for two human players) (1962) Board games (e.g. chess) against the machine SpaceWar! 1970's Pong (early arcade game) (1972) Computer controlled opponents Space Invaders (1978) Predefined patterns, no awareness "AI" takes 1-2% of CPU Pong Space Invaders Pac Man 1980's Pac-Man (1980) aware opponents with personality A computer beats a master chess player (1983) Tekken 3 First fighting games Adventure games Dungeon, Zork,... First MORPG (MUD) 1990's FPS and RTS games Games about/with evolution and learning (Creatures, Black&White) Deep Blue beats Kasparov (1997) Graphic cards take the load off the CPU AI takes 10-35% of CPU Doom Dune 2 Black & White 2000- Computer games is a big industry Games sell for about 25 billion USD per year Market grows with 16% per year A game project: 2 years, 8-15 million USD Less cheating in AI Characters are more aware Characters collaborate better Focus shift from graphics towards AI Large part of the code is AI code (often made from scratch for each game) Typical Game AI topics Strategical/tactical decisions Against or with you Search for best counter action adaptivity Director level AI Simulation of natural behaviour for animation (e.g. bird flocks) Shortest path problems 2

Why is Game AI hard? (what makes it interesting to CompSci) Huge state space Huge action space Multiple tasks on different levels of abstraction of different types Non-deterministic makes planning difficult post-conditions difficult to set Often real time Some common methods Minimax logic games, search for best counter action Finite State Machines (FSM) Behaviour A* For shortest path problems Particle methods Simulation of flocks, smoke, water, grass,... Smart terrain Minimax (counter actions) Finite State Machines Pacman ghost (red) MAX MIN 7 MAX 5 1 3 17 42 7 Variants: α-β-pruning and expectimax A* Distance from S + estimated distance to G Reinforcement Learning 3+8=11 2+7=9 3+6=9 4+5=9 2+7=9 1+6=7 2+5=7 3+4=7 1+6=7 S 1+4=5 2+3=5 2+5=7 G 3+6=9 4+5=9 5+4=9 6+3=9 7+2=9 8+1=9 3

Best shortest Smart terrain Store knowledge in objects instead of in the characters drink me! not thirsty, warm Easier to know what is relevant Easier to add new objects later Attributed to Will Wright (Sims) Civilization III Machine Learning? MENACE Game characters are short lived Learning requires many attempts Keep it simple! Probabilistic methods (MENACE) Evolutionary methods genetic algorithms and PSO Neural networks in game development, but not in the game AI in various game types Board games Role playing games Strategy games Platform and sports games Racing games Board games Discrete time / turn based Often deterministic AI is in the opponent AI goal is non-typical (for games) usually strives for optimality Tree search Library Reinforcement learning Chess 4

Role Playing and Adventure Town behaviour AI in enemies, bosses, party members and other NPCs,... Scripting, FSMs, Messaging Role Playing Combat combat oriented games are simpler to make Conversations (grammar machines) Quest generators Towns The Elder Scrolls IV: Oblivion The Elder Scrolls III: Morrowind Town behaviour Need-based system Needs (e.g. hunger, business,...) Actions (e.g. eating, trading,...) "Need pathfinding" Problems Finding people Unwanted interaction between NPCs Strategy games AI heavy (on both sides) Shortest path problems Strategical decisions Tactical decisions Town building and resource management planning Indigenous life Reconnaissance (fog-of-war) Diplomacy Know thy enemy (observe and adapt) Civilization III Strategy games Action games (FPS, TPS) Civilization III Enemies Cooperative agents Weapons Attention requires perception requires a good physics engine Pathfinding Spatial reasoning Anticipation Half Life 2 5

Action games (FPS, TPS) Platforms and sports Platform games In 3D, since 1996 (Mario 64) Camera problems Sports games Camera problems (harder) Cooperation Game balance can be difficult Learning Thief 3: Deadly Shadows Platforms and sports Racing games Prince of Persia Prince of Persia: The Two Thrones Forza Motorsport Racing games Track AI Neural networks (CMR2) Traffic (including pedestrians) Physics Tuning NPCs and vehicle parameters Genetic algorithms Particle swarm optimization Conclusion Making realistic games requires more than good graphics Computer controlled characters must behave Naturally Reasonably intelligent, without cheating Graphics has dedicated hardware More processing power avilable to AI In the future Dedicated AI cards? Combined AI/Physics/Graphics cards? Multicore processors Knowledge transfer from games to robotics 6

Robocup (Aibo league) 7