Uncertainty and Games (Ch. 15). Uncertainty If a game outcome is certain can it achieve meaningful play? –Example of such a game? Two kinds of uncertainty:

Slides:



Advertisements
Similar presentations
Probability How likely is an event to occur?
Advertisements

Lecture 13 Elements of Probability CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Decision Making Under Uncertainty CSE 495 Resources: –Russell and Norwick’s book.
Introduction to Philosophy Lecture 6 Pascal’s wager
Clear your desk for your quiz. Unit 2 Day 8 Expected Value Average expectation per game if the game is played many times Can be used to evaluate and.
From Randomness to Probability
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.4, Slide 1 13 Probability What Are the Chances?
Warm up 1)We are drawing a single card from a standard deck of 52 find the probability of P(seven/nonface card) 2)Assume that we roll two dice and a total.
Summary So Far Extremes in classes of games: –Nonadversarial, perfect information, deterministic –Adversarial, imperfect information, chance  Adversarial,
Games of probability What are my chances?. Roll a single die (6 faces). –What is the probability of each number showing on top? Activity 1: Simple probability:
Probability And Expected Value ————————————
What are the chances of that happening?. What is probability? The mathematical expression of the chances that a particular event or outcome will happen.
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.4, Slide 1 13 Probability What Are the Chances?
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Administrative: “Design New Game” Project Apply the principles of Iterative Design –First run of games in class: March 28 th in class Short document describing:
Complexity and Emergence in Games (Ch. 14 & 15). Seven Schemas Schema: Conceptual framework concentrating on one aspect of game design Schemas: –Games.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Introduction to Philosophy Lecture 6 Pascal’s wager By David Kelsey.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
DR. DAWNE MARTIN DEPARTMENT OF MARKETING Show Me the Money.
Probability Evaluation 11/12 th Grade Statistics Fair Games Random Number Generator Probable Outcomes Resources Why Fair Games? Probable Outcome Examples.
Probability How likely is an event to occur? What are the chances of that happening??!!
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 From Randomness to Probability.
5.1 Probability in our Daily Lives.  Which of these list is a “random” list of results when flipping a fair coin 10 times?  A) T H T H T H T H T H 
Fair and Unfair Games Laura Smiley. What makes a game… FairUnfair.
WOULD YOU PLAY THIS GAME? Roll a dice, and win $1000 dollars if you roll a 6.
Information Theory and Games (Ch. 16). Information Theory Information theory studies information flow Information has no meaning –As opposed to daily.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Expected Value and Fair Game S-MD.6 (+) Use probabilities to make fair decisions (e.g., drawing by lots, using a random number generator). S-MD.7 (+) Analyze.
Chance We will base on the frequency theory to study chances (or probability).
Math 1320 Chapter 7: Probability 7.3 Probability and Probability Models.
STAT 1301 Introduction to Probability. Statistics: The Science of Decision Making in the Face of Uncertainty l Uncertainty makes life challenging and.
Recap From Previous Classes (I) Games as Schemes of Uncertainty –Macro-level: We don’t know outcome of game –Micro-level: Probability is assigned to outcome.
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
1 Expected Value CSCE 115 Revised Nov. 29, Probability u Probability is determination of the chances of picking a particular sample from a known.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
Essential Ideas for The Nature of Probability
From Randomness to Probability
Dealing with Random Phenomena
Expected values of games
Copyright © Cengage Learning. All rights reserved.
Defining Rules and Levels of Rules (Chs. 11 & 12)
Determining the theoretical probability of an event
Game Theory “How to Win the Game!”.
From Randomness to Probability
Expected Value.
Unit 6 Probability.
Critical Thinking Lecture 14 Pascal’s wager
From Randomness to Probability
From Randomness to Probability
Probability: Living with the Odds
Chapter 16.
Probability And Expected Value ————————————
Expected Value.
Introduction to Philosophy Lecture 6 Pascal’s wager
Discrete Distributions
Probability And Expected Value ————————————
Discrete Distributions
Investigation 2 Experimental and Theoretical Probability
Discrete Distributions.
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
HW: Probability Skills Review
From Randomness to Probability
Expected Value.
Fun… Tree Diagrams… Probability.
6.1 Sample space, events, probability
Statistics and Probability-Part 5
From Randomness to Probability
Complexity and Emergence in Games (Ch. 14)
Probability – Experimental & Expectation – Activity A
Presentation transcript:

Uncertainty and Games (Ch. 15)

Uncertainty If a game outcome is certain can it achieve meaningful play? –Example of such a game? Two kinds of uncertainty: –Macro-level (overall game) –Micro-level (individual player’s actions)

Uncertainty and Categories of Games According to AI Perfect information Imperfect information Deterministic Chance Yes For which of the following categories, label with “Yes” those for which games can have uncertainty Lesson: you don’t have to “rolling a dice”, to achieve uncertainty in a game

Feeling of Randomness We can even achieve a feeling of randomness in a deterministic perfect information game –Example? Danger: designing a chaotic game –Example?

Probability in Games Probability: a mathematical formalization of uncertainty Examples of games using probability: In a game like Chutes and Ladders, player is not making decisions (probabilities – a random number generator is deciding-), why is it “fun”?  chance to hit  amount of damage dealt  Next shape in Tetris  Initial location in a multiplayer RTS game  Random loot in an MMO  …

Probability Example. Suppose that you are in a TV show and you have already earned 1’ so far. Now, the host propose you a gamble: he will flip a coin if the coin comes up heads you will earn 3’ But if it comes up tails you will loose the 1’ What do you decide? We know a degree of belief Probability theory allows the analysis of decisions based on the degree of belief

Probability Suppose that I flip a “fair” coin:  what is the probability that it will come heads: 0.5 Suppose that I flip a “totally unfair” coin (always come heads):  what is the probability that it will come heads: 1 Assigns a number between 0 and 1 to events The closer an event is to 1, the more likely we believe it will occur The closer an event is to 0, the less likely we believe it will occur

Another Example Example: 1000 tickets are sold at a value of $1 each 100 are selected. The first 90 get a $5 price, the next 9 get a $10 price and the last will get $100 Probability of having a winning ticket:100/1000 = 0.1 Probability of holding a $5 ticket: 90/1000 = Probability of holding a $10 ticket: 9/1000 = Probability of holding the $100 ticket: 1/1000 = Probability of holding a losing ticket: 900/1000 =

Probability Distribution The events E 1, E 2, …, E k must meet the following conditions: One always occur No two can occur at the same time The probabilities p 1, …, p k are numbers associated with these events, such that 0  p i  1 and p 1 + … + p k = 1 A probability distribution assigns probabilities to events such that the two properties above holds

Example (Probability Distribution) In the example: E 1 = “holding a $5 ticket” E 2 = “holding a $10 ticket” E 3 = “holding a $100 ticket” E 4 = “holding a losing ticket” The probabilities are: p 1 =.09 p 2 =.009 p 3 =.001 p 4 =.9 Note that the probabilities add to 1 Could we add E 5 = “holding a winning ticket”? No! because E 5 occurs at the same time as E 1, E 2 and E 3

Expected Utility Coming back to the example: Answer to that depends on: – the probability of winning $0 or $ 3’ –How much money you currently have –Expected utility: a measure of how much I win from taking an action Suppose that you are in a TV show and you have already earned 1’ so far. Now, the host propose you a gamble: he will flip a coin if the coin comes up heads you will earn 3’ But if it comes up tails you will loose the 1’ What do you decide?

Warnings about Probabilities (1) A random function assigns to k events: E 1, E 2, …, E k, the same probability: 1/k (called “uniform distribution”)  Example: rolling a dice has 6 events (one for each face) with probability of each occurring been 1/6 Problem: Computers cannot make a perfectly random function  It is “random” in the sense that you cannot predict the outcome in advance  But it is not a uniform distribution  This is due to the fact that computers are intrinsically deterministic

Warnings about Probabilities (2) People do not always follow the rules of probability:  Experiment with people  Choice was given between A and B and then between C and D: A: 80% chance of $4000 B: 100% chance of $3000 C: 20% chance of $4000 D: 25% chance of $3000 Majority choose B over A and C over D  This turns out to be mathematically inconsistent with the expected utility Book discusses other miss-conceptions

Final Thought Probability does not equate to chance in games But well laid-out element of chance will result in meaningful choices Example: Player needs to decide whether to attack a monster or not based  This decision is based on expected utility  A “feeling” of how success will it be  Sometimes players can get quite formalformal  How worth would it be if successful