Probability / Information Theory Robin Burke GAM 224 Fall 2005.

Slides:



Advertisements
Similar presentations
Ulams Game and Universal Communications Using Feedback Ofer Shayevitz June 2006.
Advertisements

Authority 2. HW 8: AGAIN HW 8 I wanted to bring up a couple of issues from grading HW 8. Even people who got problem #1 exactly right didn’t think about.
GDC Canada May 2009 Joint work with Richard Garfield and Skaff Elias K. Robert Gutschera Senior Game Designer The Amazing Society
6-1 Stats Unit 6 Sampling Distributions and Statistical Inference - 1 FPP Chapters 16-18, 20-21, 23 The Law of Averages (Ch 16) Box Models (Ch 16) Sampling.
Probability, Part III.
Section 5.1 and 5.2 Probability
How likely something is to happen.
Chapter 5 Understanding Randomness
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:
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 15 Chances, Probabilities, and Odds 15.1Random Experiments and.
22C:19 Discrete Structures Discrete Probability Fall 2014 Sukumar Ghosh.
Information / Cybernetics Robin Burke GAM 224 Winter 2008.
Mr Barton’s Maths Notes
Games as Systems Administrative Stuff Exercise today Meet at Erik Stemme
Probability And Expected Value ————————————
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Copyright (c) Bani K. Mallick1 STAT 651 Lecture #15.
Binomial & Geometric Random Variables
Information Theory and Security
Review of Probability and Binomial Distributions
Chapter 11: understanding randomness (Simulations)
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Notes From David Palay: Chapter 5.1 Introduction to Probability What are the chances that…
Francelette’s Kindness Adventure Card Game. I. Special Rules for different difficulties I. Beginning players to Expert Players II. Being a referee for.
Games as Information Systems with Uncertainty “rules” schemas on content and discernability.
Probability and Long- Term Expectations. Goals Understand the concept of probability Grasp the idea of long-term relative frequency as probability Learn.
Information 2 Robin Burke GAM 224 Spring Outline Admin "Rules" paper Uncertainty Information theory Signal and noise Cybernetics Feedback loops.
Complexity and Emergence in Games (Ch. 14 & 15). Seven Schemas Schema: Conceptual framework concentrating on one aspect of game design Schemas: –Games.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Lecture Discrete Probability. 5.1 Probabilities Important in study of complexity of algorithms. Modeling the uncertain world: information, data.
Probabilities when Outcomes are Equally Likely. Math Message Which phrase – Extremely likely chance, or Very Unlikely best describes the chance.
MOM! Phineas and Ferb are … Aims:
EXIT NEXT Click one of the buttons below or press the enter key BACKTOPICSProbability Mayeen Uddin Khandaker Mayeen Uddin Khandaker Ph.D. Student Ph.D.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 1 – Slide 1 of 33 Chapter 5 Section 1 Probability Rules.
Game analysis Robin Burke GAM 206. Outline o Quiz (30 min) o Game analysis o Rules o Play o Culture.
Quiz / Case Study Robin Burke GAM 224. Outline Admin Rules paper Play paper Game designs Quiz Case study.
Notes on PROBABILITY What is Probability? Probability is a number from 0 to 1 that tells you how likely something is to happen. Probability can be either.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 6. Probability Theory and the Normal Probability Distribution.
Math Games Compiled By: Joan Bartlett and Heather Bartlett.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 10, Slide 1 Chapter 10 Understanding Randomness.
EXIT NEXT Click one of the buttons below or press the enter key BACKTOPICS Probability The MEnTe Program Math Enrichment through Technology Title V East.
CHAPTER 10: CORE MECHANICS Definitions and Mechanisms.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
Uncertainty Robin Burke GAM 206. Outline o Quiz (30 min) o Uncertainty o Lots o Dice.
Information 2 Robin Burke GAM 224 Spring Outline Admin Systems of information Cybernetics Feedback loops.
Rules Robin Burke GAM 224 Spring Outline Administrativa Rules Example Types of Rules Emergence.
7th Probability You can do this! .
Slide Understanding Randomness.  What is it about chance outcomes being random that makes random selection seem fair? Two things:  Nobody can.
Information / Cybernetics Robin Burke GAM 224 Spring 2006.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
Please turn off cell phones, pagers, etc. The lecture will begin shortly. There will be a very easy quiz at the end of today’s lecture.
WOULD YOU PLAY THIS GAME? Roll a dice, and win $1000 dollars if you roll a 6.
Inference: Probabilities and Distributions Feb , 2012.
Information Robin Burke GAM 224 Spring Outline Admin "Rules" paper Systems of information.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
The inference and accuracy We learned how to estimate the probability that the percentage of some subjects in the sample would be in a given interval by.
Chance We will base on the frequency theory to study chances (or probability).
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Probability What are your Chances? Warm Up Write each fraction in simplest form
Statistics 11 Understanding Randomness. Example If you had a coin from someone, that they said ended up heads more often than tails, how would you test.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Odds ratio example again. 2.Random variables. 3.cdf, pmf, and density,
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:
Essential Ideas for The Nature of Probability
Information / Cybernetics
Understanding Randomness
PROBABILITY RULES. PROBABILITY RULES CHANCE IS ALL AROUND YOU…. YOU AND YOUR FRIEND PLAY ROCK-PAPER-SCISSORS TO DETERMINE WHO GETS THE LAST SLICE.
Probability, Part I.
Presentation transcript:

Probability / Information Theory Robin Burke GAM 224 Fall 2005

Outline Admin Erratum Design groups "Rules" paper Uncertainty Probability Information theory Signal and noise

Erratum The rules of "8 & out" are not isomorphic to "Thunderstorm" Mr. Allen was correct Consider all players draw no ones for seven turns each player should be 1 turn from being out but each player should have 7*(k-1) points none of them can go out next turn Moral it is hard to find a confusing alternative to counting

Design teams 9 people not on teams Please get teamed up! Next milestone Monday

Rules paper Due 10/10 Analysis paper #1: "Rules" You should be playing your game and taking notes Note you cannot use lab machines to do word processing laptops are OK

Important points Thesis "great game" is not a thesis This is a thesis "Inertial navigation, fixed firing direction and accurate collision detection in Asteroids create an environment in which ship orientation is highly coupled, generating emergent forms of gameplay." No thesis = paper will not be graded Documentation game itself, book, lectures other sources if used Missing or inadequate documentation = paper will not be graded

Rules paper 2 Schemas Emergence Uncertainty Information Theory Information Systems Cybernetics Game Theory Conflict Do not use more than one

Rules paper 3 Outlines suggestions Focus do not catalog every rule, every game object identify those items that contribute to your argument depth over breadth

Rules paper 4 Turn in hardcopy in class 10/10 Turn in to turnitin.com on 10/10 Late policy ½ grade per day submit by

Turnitin.com Class id Password katamari

Uncertainty Many games are probabilistic roll the dice shuffle the cards Some games are not Chess Checkers Dots and Boxes

Certainty vs uncertainty Certainty the condition when the outcome of an action is known completely in advance. Some games operate this way Chess Dots and Boxes But even then uncertainty about who will win otherwise what is the point? Strategically-interesting deterministic games are hard to design

Probability Probability is the study of chance outcomes originated in the study of games Basic idea a random variable a quantity whose value is unknown until it is "sampled"

Random variable 2 We characterize a random variable not by its value but by its "distribution" the set of all values that it might take and the percentage of times that it will take on that value distribution sums to 1 since there must be some outcome Probability the fraction of times that an outcome occurs

Single Die Random variable # of spots on the side facing up Distribution each value 1/6 of the time Idealization

Single die Random variable odd or even number of dots Distribution odd or even 50% Distributions are not always uniform

Two dice Random variable sum of the two die values Distribution 2, 12 = 1/36 3, 11 = 1/18 4, 10, = 1/12 5, 9 = 1/9 6, 8 = 5/36 7 = 1/6 Non-uniform not the same as picking a random # between 2-12 dice games use this fact

Computing probabilities Simplest to count outcomes Dice poker roll five die keep best k, roll 5-k becomes your "hand" Suppose you roll two 1s what are the outcomes when your roll the other 3 again to improve your hand?

Outcomes Each possible combination of outcomes of 3 rolls 6 x 6 x 6 = 216 possible outcomes Questions Probability of 3 of kind or better? Probability of 4 of a kind or better? Die #1 Die #2 Die #3 1, 1, 1 6, 6, 1 6, 6, 6

Basic probability theory Repeated trials add but not in a simple way probability of a coin flip = heads? probability of heads in 3 flips? Outcome sequences multiply probability of 3 flips all heads?

Relevance for Games Many game actions are probabilistic even if their effects are deterministic player may not be able to exercise the controls perfectly every time Asking somebody to do the same uncertain task over increases the overall chance of success to succeed on several uncertain tasks in a row decreases (a lot) the overall chance of success

Role of Chance Chance can enter into the game in various ways Chance generation of resources dealing cards for a game of Bridge rolling dice for a turn in Backgammon Chance of success of an action an attack on an RPG opponent may have a probability of succeeding Chance degree of success the attack may do a variable degree of damage Chance due to physical limitations the difficulty of the hand-eye coordination needed to perform an action

Role of Chance 2 Chance changes the players' choices player must consider what is likely to happen rather than knowing what will happen Chance allows the designer more latitude the game can be made harder or easier by adjusting probabilities Chance preserves outcome uncertainty with reduced strategic input example: Thunderstorm

Random Number Generation Easy in physical games rely on physical shuffling or perturbation basic uncertainty built into the environment "entropy" Not at all simple for the computer no uncertainty in computer operations must rely on algorithms that produce "unpredictable" sequences of numbers an even and uncorrelated probability distribution sometime variation in user input is used to inject noise into the algorithm Randomness also very important for encryption

Psychology People are lousy probabilistic reasoners Reasoning errors Most people would say that the odds of rolling a 1 with two die = 1/6 + 1/6 = 1/3 We overvalue low probability events of high risk or reward Example: Otherwise rational people buy lottery tickets We assume success is more likely after repeated failure Example: "Gotta keep betting. I'm due."

Psychology 2 Why is this? Evolutionary theories Pure chance events are actually fairly rare outside of games Usually there is some human action involved There are ways to avoid being struck by lightning We tend to look for causation in everything Evolutionarily useful habit of trying to make sense of the world Result superstition "lucky hat", etc. We are adapted to treat our observations as a local sample of the whole environment but in a media age, that is not valid How many stories in the newspaper about lottery losers?

Psychology 3 Fallacies may impact game design Players may take risky long-shots more often than expected Players may expect bad luck to be reversed

Information theory Information can be public board position in chess private one's own poker hand unknown / hidden (to players) monsters in the next room

Information Theory There is a relationship between uncertainty and information Information can reduce our uncertainty Example The cards dealt to a player in "Gin Rummy" are private knowledge But as players pick up certain discarded cards from the pile It becomes possible to infer what they are holding

Information Theory 2 Classical Information Theory Shannon Information as a quantity how information can a given communication channel convey? compare radio vs telegraph, for example must abstract away from the meaning of the information only the signifier is communicated the signified is up to the receiver

Information Theory 3 Information as a quantity measured in bits binary choices If you are listening on a channel for a yes or no answer only one bit needs to be conveyed Example LOTR

Information Theory 4 If you need a depiction of an individual's appearance many more bits need to be conveyed Because there are more ways that people can look young / old race eye color / shape hair color / type height dress A message must be chosen from the vocabulary of signifier options book: "information is a measure of one's freedom of choice when selecting a message"

Information Theory 5 This is the connection between information and uncertainty the more uncertainty about something the more possible messages there are

Noise Noise interrupts a communication channel by changing bits in the original message increases the probability that the wrong message will be received Redundancy standard solution for noise more bits than required, or multi-channel

Example 1 Gin Rummy Unknown What cards are in Player X's hand? Many possible answers 15 billion (15,820,024,220) about 34 bits of information Once I look at my 10 cards 1.5 billion (1,471,442,973) about 30 bits

Example 1 cont'd I have two Kings Player X picks up a discarded King of Hearts Discards a Queen of Hearts There are two possible states Player X now has one King <- certain Player X now has two Kings <- very likely Possible hands 118 million (118,030,185) about 27 bits factor of 10 reduction in the uncertainty 3 bits of information in the message

Example 1 cont'd Gin Rummy balances privacy of the cards with messages discarding cards picking up known discards The choice of a discard becomes meaningful because the player knows it will be interpreted as a message When it isn't your turn the game play is still important because the messages are being conveyed interpreting these messages is part of the skill of the player trivial to a computer, but not for us

Example 2 Legend of Zelda: Minish Cap Monsters are not all vulnerable to the same types of weapons 10 different weapons (we'll ignore combinations of weapons) Encounter a new monster which weapon to use? 4 bits of unknown information We could try every weapon but we could get killed

Example 2, cont'd Messages the monster iconography contains messages rocks and metal won't be damaged by the sword flying things are vulnerable to the "Gust Jar" etc. the game design varies the pictorial representations of monsters knowing that these messages are being conveyed learning to interpret these messages is part of the task of the player once mastered, these conventions make the player more capable Often sound and appearance combine a redundant channel for the information

Game Analysis Issues Be cognizant of the status of different types of information in the game public private unknown Analyze the types of messages by which information is communicated to the user How does the player learn to interpret these messages? How are redundant channels used to communicate?

Monday No class Meet with your group

Wednesday Systems of Information Cybernetics Ch. 17 & 18