Artificial Intelligence in The Sims series. Yoann Bourse



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

BSc in Artificial Intelligence and Computer Science ABDAL MOHAMED

MINUTE TAKING. All material copyright of Lindsay Wright This pack is for sample purposes only, and not for re-use

Preliminary Material Data Sheet

Level Design. Characters vs Levels. Level Design. Case Study: Matchstick puzzle

Circuits and Boolean Expressions

Artificial intelligence (AI) specialists in Games design and programming

Midterm Review Problems

Grid Computing for Artificial Intelligence

School of Computer Science

Game Design From Concepts To Implementation

Game Programming & Game Design

World Series of Innovation 2011

Key Marketing Trends & Developments in 2015

Research Directions in Computer Game AI. Rafael Cabredo

Ready, Set, Go! Math Games for Serious Minds

Lecture 2: Game Design

Cyber safety Parent Easy Guide 63

DEVELOPING A LOW COST BRAIN INJURY REHABILITATION PROGRAM: GUIDELINES FOR FAMILY MEMBERS

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

Asset 1.6 What are speech, language and communication needs?

Workshop Synopsis 1 Tips for Facilitators 3 Overview of Activities 5 Sample Agendas 7

FEDERAL RESERVE BANKS OF ST. LOUIS AND PHILADELPHIA

Engaging mobile consumers in emerging markets

Great People... Work in Slot Operations. Slot Attendant Realistic Job Profile

Creating PowerPoint Presentations with Audio Narration. Tips & Techniques for Designing Online Lectures Using PowerPoint

COURSE GUIDE. Learn English - Discover Australia SYDNEY MELBOURNE BRISBANE GOLD COAST CAIRNS COURSE GUIDE 1

Inspection report for early years provision. Unique Reference Number

If child was born 3 or more weeks prematurely, # of weeks premature: Last name: State/ Province: Home telephone number:

OCR LEVEL 3 CAMBRIDGE TECHNICAL

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

Game Design and Programming

2013 Satisfaction Survey. How are we doing? Easier to Read Version

THE BLASTER METHOD: MATH GAMES TO MAKE YOU MATH SMART

LESSON 7: LEARNING MODELS

CHAPTER NINE WORLD S SIMPLEST 5 PIP SCALPING METHOD

Developing an Artificial Intelligence Engine

CURRICULUM VITAE EDUCATION:

Applications > Robotics research and education > Assistant robot at home > Surveillance > Tele-presence > Entertainment/Education > Cleaning

Mental Preparation & Team Building with Female Athletes. Presented by: Karen MacNeill, Ph.D, R.Psych

INSPECTION OUTCOME REPORT

Inspection report for early years provision. Unique Reference Number Inspection date 04 April 2006

DAY ONE ICE-BREAKERS AND INTRODUCTION. Hello. Name of the activity Objectives

What is the Humanist Perspective? What are the key ideas in the Humanistic perspective of personality?

Understand career planning in a digital media environment.

Game Artificial Intelligence Literature Survey on Game AI

Junior Cookie CEO Badge Activity Plan 1

Social Media Tips for Small Businesses

Algebra 2 C Chapter 12 Probability and Statistics

Helping People with Mental Illness

Call Center Agent Training. Best Practice

U.Rahamathunnisa 1, S. Pragadeeswaran 2 *Assistant Professor, SITE, VIT University, Vellore. **MS(SE) Student, SITE, VIT University, Vellore.

Computer Game Programming Intelligence I: Basic Decision-Making Mechanisms

OCR LEVEL 3 CAMBRIDGE TECHNICAL

GROWTH AND DEVELOPMENT

Creating Strong Report Card Comments. A Handbook for Elementary Teachers

City University of Hong Kong

Title: Force and Friction How I move STEAM Lesson Brief

Copyright Plantyn PLANNING. Unit 1 Youth work works (pp. 9-22) Reading Speaking Conversation Writing Topics and vocabulary

What is the EYFS Framework why do we have one?

Simulation and Game Programming

D0100: Should Resident Mood Interview Be Conducted?

Form: Filled in table. Method: Peer assessment. Tool: Checklist. Form: Completed table. Method: Peer assessment. Tool: Checklist

Small Business. Software User Guide

Provided by: Sales Scripts

Game-Making Software. Created by. in support of

101 IELTS Speaking Part Two Topic cards about sports, hobbies and free time A- Z

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

Lesson 6: Solomon Writes Many Proverbs

Baseball and Softball Instruction

Tear Soup Cooking Tips Reprinted from Tear Soup, a recipe for healing after loss

2015 BANK OF AMERICA CHICAGO MARATHON TRAINING PLAN JUST DO IT.

Game Design Document and Production Timeline. John Laird and Sugih Jamin University of Michigan

Artificial Intelligence (AI)

HORIZONTAL SCALABILITY

Companion Animals Amphibians & Reptiles Cats Dogs Horses Veterinary Science

psychology the science of psychology CHAPTER third edition Psychology, Third Edition Saundra K. Ciccarelli J. Noland White

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

Memo. Open Source Development and Documentation Project English 420. instructor name taken out students names taken out OSDDP Proposal.

Game Development. What is a game?

CHAPTER 18 Programming Your App to Make Decisions: Conditional Blocks

What is Psychology? A set of questions about mental functioning trace back to philosophy Aristotle asked about memory, personality, emotions, etc.

Senior Phase Grade 7 Today Planning Pack ECONOMIC AND MANAGEMENT SCIENCES

K-1 Common Core Writing Santa Fe Public Schools Presented by: Sheryl White

2IOE0 Interactive Intelligent Systems

Game Designs that Enhance Motivation and Learning for Teenagers

Grade 8 Lesson Peer Influence

CREATIVE S SKETCHBOOK

Transcription:

Artificial Intelligence in The Sims series

Plan de la présentation 1 The Game 2 3 4 5 6

Introduction History The Sims Player/AI Will Wright s genius : Simulating life Simcity (1989) SimAnt (1991) The Sims (2000)

The Game History The Sims Player/AI Starting a new franchise Numerous expansions set and item packs User-created content Sequels

The Game History The Sims Player/AI What is The Sims Sandbox God game Life simulation Released in February 2000 best selling PC game : 6.3 million then, 16 million now One of the most influencial AI The player controls the life of a family of sims

Player vs. AI History The Sims Player/AI The player : Design characters Design buildings Give order to his characters The computer : Controls game mechanics Controls non-played characters Elementary actions (pathfinding) Free will

The free will History The Sims Player/AI Untill ordered otherwise, sims can survive by themselves (narrative aspect) But not too well, otherwise no incentive to play

Presentation plan History The Sims Player/AI 1 2 (smart objects) 3 4 Evolution of the series : controlling non-played characters.

A* HPA* 1. Room Graph 2. Multi-scale A* How does a sim go from A to B?

A* HPA* 1. Room Graph 2. Multi-scale A* - Reminder : A* In a graph, to go towards a goal, make the step towards the neighbour minimizing d + h d being the distance to this neighbour h an underestimate of the distance between this neighbour and the goal An good underestimate is often the geometric distance ignoring obstacles

A* HPA* 1. Room Graph 2. Multi-scale A* in the Sims : HPA* Most games adapt A* into Hierarchical A* (2004) Idea : Different level of detail : instead of working with waypoint, work first among groups of waypoints. In the Sims : Shortest path at room level Divide the room into big chunks Divide the chunks into smaller chunks + smoothing

The Game A* HPA* 1. Room Graph 2. Multi-scale A* 1. Room Graph

The Game A* HPA* 1. Room Graph 2. Multi-scale A* 1. Room Graph

1. Room Graph A* HPA* 1. Room Graph 2. Multi-scale A*

A* HPA* 1. Room Graph 2. Multi-scale A* 2. Within a room : multi-scale A*

A* HPA* 1. Room Graph 2. Multi-scale A* 2. Within a room : multi-scale A*

A* HPA* 1. Room Graph 2. Multi-scale A* 2. Within a room : multi-scale A*

The Game A* HPA* 1. Room Graph 2. Multi-scale A* 2. Within a room : multi-scale A*

Proof A* HPA* 1. Room Graph 2. Multi-scale A* Demonstration video : http ://www.youtube.com/watch?v=ii-r4m-yizo

Modeling human needs Smart Objects The Happyscape Taking personalities into account How does a sim take decisions without supervision?

Modeling human needs Smart Objects The Happyscape Taking personalities into account Modeling human needs 8 basic needs evolving through time, under the influence of circumstances (sleeping? eating?) : Physical Hunger (eating) Comfort (sitting/laying down) Hygiene (bathing) Bladder (urinating) Mental Energy (sleeping) Fun (playing) Social (interacting with others) Room (architecture, furniture)

Need Happiness Modeling human needs Smart Objects The Happyscape Taking personalities into account Different needs have different impact on the mood : Being a little hungry is ok, but a great hunger will have a huge negative impact on mood.

What to do? Modeling human needs Smart Objects The Happyscape Taking personalities into account the activity that can increase happiness the most! Actually, we need not to be perfect : Choose randomly amongst the 4 activities providing the most hapiness.

Modeling human needs Smart Objects The Happyscape Taking personalities into account Improvement (the Sims 3) Choose with a probability propotional to the hapiness gain : Temperature/activity based on Maslow s Hierarchy of Needs.

Modeling human needs Smart Objects The Happyscape Taking personalities into account Smart Object paradigm No logic in the sim Logic in the objects (expandable!) Inside an object (= 1 thread) : Graphics/animation State Scripts (EDITH custom scripting language, in game editor) Advertising (what can it offer to the sim?) Virtual objects (weather, conversations...)

Object script Modeling human needs Smart Objects The Happyscape Taking personalities into account Example : the fridge Go to a counter Prepare the food Go to the stove Cook the food Go to the table (+ chair) Eat the food Go to the dishwasher Clean your plate

Modeling human needs Smart Objects The Happyscape Taking personalities into account The Happyscape - Smart Terrain 1. Objects broadcast what they can offer

Modeling human needs Smart Objects The Happyscape Taking personalities into account The Happyscape - Smart Terrain 2. Needs translated into happiness gain

Modeling human needs Smart Objects The Happyscape Taking personalities into account The Happyscape - Smart Terrain 3. Pick randomly amongst the max

Modeling human needs Smart Objects The Happyscape Taking personalities into account Taking personalities into account

Modeling human needs Smart Objects The Happyscape Taking personalities into account Taking personalities into account Fun different between playful and serious people (pinball/chess) Outgoing people s social need increase faster... Note : distance between the sim and the object is also taken into account by a small multiplicative factor

How do two sims interact with each other?

Social interaction model Based on a relation score between each two sims Score enables different interactions High-level automaton-like evolution

Social interaction model Actions have positive/negative effects depending on mood/personality/randomness Low-level rule-based mecanism

Level of detail Improvements Realistic simulation What changed between the versions? Aging evolution of the whole town

Level of detail Level of detail Improvements Realistic simulation Huge simulation : use different level of details Script an average behaviour

Town as an object Level of detail Improvements Realistic simulation The town has underlying desires (gender ratio, employment rate) and can satisfy them by actions (birth, death, get job...)

Improvements Level of detail Improvements Realistic simulation Hierarchical planning : Instead of considering all possible actions, choose a house, then choose an object, then choose an action. Commodity-Interaction map : Create one smart-terrain map per need.

Realistic simulation Level of detail Improvements Realistic simulation New needs according to personality, time... Examples : Welcome and entertain guest Steal (kleptomaniacs) Embarass people (inappropriate sims) Also affects the range of available actions

Post-Mortem Post-Mortem Prospects Questions Sources : HDA* Moderate reactions : complaints about sims getting stuck : Smart Objects : Automata and rules Those two aspects created a semi-autonomous groundbreaking AI which allowed a light user control and the generation of narratives ( fishbowl ) Scaling up : Level of detail

Prospects Post-Mortem Prospects Questions Sources Adaptation to the user : Despite its user-centered experience, the Sims lacks user-based adaptation mecanisms Reinforcement learning for babies?

Questions Post-Mortem Prospects Questions Sources Thank you for listening

Post-Mortem Prospects Questions Sources Sources - The Sims 97, Will Wright, The Soul of The Sims (source code) http ://www.donhopkins.com/home/images/sims/ 01, Will Wright, Kenneth Forbus : Some notes on programming objects in The Sims http ://www.qrg.cs.northwestern.edu/papers/files/programming Objects in The Sims.pdf GDC01, John Viega : Those Darned Sims : What Makes Them Tick? http ://www.gdcvault.com/play/1013969/those-darned-sims-what-makes Spring 02 Kenneth Forbus : Simulation and Modeling : Under the hood of The Sims http ://www.cs.northwestern.edu/ forbus/c95- gd/lectures/the Sims Under the Hood files/v3 document.htm GamesKB 04, Don Hopkins : Trying to Create a Perfect Sim http ://www.gameskb.com/uwe/forum.aspx/games-the-sims/2867/trying-to-create-a-perfect-sim GDC 07, Jake Simpson : Scripting and Sims2 : Coding the Psychology of Little People http ://twvideo01.ubm-us.net/o1/vault/gdc05/slides/pg Simpson ScriptingAndSims2.ppt 07, A.J. Champandard, Living with The Sims? AI : 21 Tricks to Adopt for Your Game http ://aigamedev.com/open/review/the-sims-ai/ AIIDE 07, Richard Evans s talk reports by TaraTeich : http ://tara.teich.net/?s=aiide+2007 AIIDE 09, Richard Evans : AI Challenges in Sims 3 http ://www.gdcvault.com/play/1012450/modeling-individual-personalities-in-the http ://intrinsicalgorithm.com/iaonai/2009/10/aiide-2009-ai-challenges-in-sims-3-richard-evans/ AI Game Programmers Guild Wiki : http ://gameai.com/wiki/index.php?title=the Sims The Sims Wiki : http ://sims.wikia.com/ StrategyWiki : http ://strategywiki.org/wiki/the Sims 3/ Carl s Sims 3 Guide : http ://www.carls-sims-3-guide.com

Sources - generic Post-Mortem Prospects Questions Sources Wikipedia : http ://www.wikipedia.org Botea, Mïller, Shaeffer (journal of Game Development 04) : Near Optimal Hierarchical Path-finding http ://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.72.7041 Video Game Charts : www.vgchartz.com