Introduction to Cognition and Gaming 9/25/02: Von Neumann’s Game Theory, Game Balance.

Slides:



Advertisements
Similar presentations
Lecture 13. Poker Two basic concepts: Poker is a game of skill, not luck. If you want to win at poker, – make sure you are very skilled at the game, and.
Advertisements

Nash’s Theorem Theorem (Nash, 1951): Every finite game (finite number of players, finite number of pure strategies) has at least one mixed-strategy Nash.
This Segment: Computational game theory Lecture 1: Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie.
Falcon on a Cloudy Day A Ro Sham Bo Algorithm by Andrew Post.
Game Balance Jehee Lee Seoul National University.
Game Theory S-1.
Evolution and Repeated Games D. Fudenberg (Harvard) E. Maskin (IAS, Princeton)
Mixed Strategies For Managers
Introduction to Game theory Presented by: George Fortetsanakis.
Non-Cooperative Game Theory To define a game, you need to know three things: –The set of players –The strategy sets of the players (i.e., the actions they.
6-1 LECTURE 6: MULTIAGENT INTERACTIONS An Introduction to MultiAgent Systems
Chapter 6 Game Theory © 2006 Thomson Learning/South-Western.
1 Chapter 4: Minimax Equilibrium in Zero Sum Game SCIT1003 Chapter 4: Minimax Equilibrium in Zero Sum Game Prof. Tsang.
An Introduction to... Evolutionary Game Theory
Eponine Lupo.  Questions from last time  3 player games  Games larger than 2x2—rock, paper, scissors  Review/explain Nash Equilibrium  Nash Equilibrium.
Game Theory. “If you don’t think the math matters, then you don’t know the right math.” Chris Ferguson 2002 World Series of Poker Champion.
Part 3: The Minimax Theorem
Game Theory Part 5: Nash’s Theorem.
Chapter 6 © 2006 Thomson Learning/South-Western Game Theory.
5/16/20151 Game Theory Game theory was developed by John Von Neumann and Oscar Morgenstern in Economists! One of the fundamental principles of.
Chapter 14 Game Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole, a.
Game Theory Analysis Sidney Gautrau. John von Neumann is looked at as the father of modern game theory. Many other theorists, such as John Nash and John.
GAME THEORY By Ben Cutting & Rohit Venkat. Game Theory: General Definition  Mathematical decision making tool  Used to analyze a competitive situation.
Slide 1 of 13 So... What’s Game Theory? Game theory refers to a branch of applied math that deals with the strategic interactions between various ‘agents’,
Lectures in Microeconomics-Charles W. Upton Game Theory.
1 Game Theory Here we study a method for thinking about oligopoly situations. As we consider some terminology, we will see the simultaneous move, one shot.
IMGD 1001: Game Balance. IMGD Outline  Gameplay(done) ‏  Level Design(done) ‏  Game Balance(next) ‏
QR 38, 2/22/07 Strategic form: dominant strategies I.Strategic form II.Finding Nash equilibria III.Strategic form games in IR.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
The Elements of Gameplay by Richard Rouse III Ayşegül Bakar.
Game Theory.
Creating a Positive Classroom Environment
Starbucks, Beating The Prisoners Dillema Brooke Hatcher Econ 202 April 28 th, 2012.
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
9/14/20151 Game Theory and Game Balance CIS 487/587 Bruce R. Maxim UM-Dearborn.
A Game-Theoretic Approach to Strategic Behavior. Chapter Outline ©2015 McGraw-Hill Education. All Rights Reserved. 2 The Prisoner’s Dilemma: An Introduction.
Games as Systems of Challenge, Competition and Conflict goal states and obstacles to reaching them.
Learning to Play Blackjack Thomas Boyett Presentation for CAP 4630 Teacher: Dr. Eggen.
CSE4AT3 Game Balancing. Designing Fun… You can’t, but there are things you can do to help Balancing the Game.
Dynamic Games of complete information: Backward Induction and Subgame perfection - Repeated Games -
Think Game Play! advanced-prototyping/ 016.
Game Theory Robin Burke GAM 224 Spring Outline Admin Game Theory Utility theory Zero-sum and non-zero sum games Decision Trees Degenerate strategies.
Game theory & Linear Programming Steve Gu Mar 28, 2008.
The Science of Networks 6.1 Today’s topics Game Theory Normal-form games Dominating strategies Nash equilibria Acknowledgements Vincent Conitzer, Michael.
Chapter 3 Fair Division.
Game Balance.
Voter Turnout. Overview Recap the “Paradox” of Voting Incentives and Voter Turnout Voter Mobilization.
Fundamentals of Game Design by Ernest Adams and Andrew Rollings Chapter 1: Games and Video Games.
Part 3 Linear Programming
1 What is Game Theory About? r Analysis of situations where conflict of interests is present r Goal is to prescribe how conflicts can be resolved 2 2 r.
Strategic Behavior in Business and Econ Static Games of complete information: Dominant Strategies and Nash Equilibrium in pure and mixed strategies.
An Introduction to Game Theory Math 480: Mathematics Seminar Dr. Sylvester.
Videogame Challenge How to build a video game. Why Are Video Games Important? The Federation of American Scientists (FAS) has proclaimed that kids need.
GamblingGambling What are the odds? Jessica Judd.
INDEX Introduction of game theory Introduction of game theory Significance of game theory Significance of game theory Essential features of game theory.
2/19/20161 Gameplay and Interactivity CIS 487/587 Bruce R. Maxim UM-Dearborn.
Games of pure conflict two-person constant sum games.
Lindeman ’ s Lectures: Game Design Robert W. Lindeman Associate Professor Interactive Media & Game Development Human Interaction in Virtual Environments.
Oligopoly and Game Theory Topic Students should be able to: Use simple game theory to illustrate the interdependence that exists in oligopolistic.
By: Donté Howell Game Theory in Sports. What is Game Theory? It is a tool used to analyze strategic behavior and trying to maximize his/her payoff of.
The Prisoner’s Dilemma or Life With My Brother and Sister John CT.
Oil Lease Auctions and the Winners’ Curse. Geologists’ estimates of value differ widely Company that makes highest estimate bids the highest. Often loses.
Indirect Reciprocity in the Selective Play Environment Nobuyuki Takahashi and Rie Mashima Department of Behavioral Science Hokkaido University 08/07/2003.
Mixed Strategies Keep ‘em guessing.
Lecture 13.
Serious Games Game elements.
Multiplayer Games By: Miss Dinnella.
Game Theory Fall Mike Shor Topic 3.
Game Theory.
CIS 487/587 Bruce R. Maxim UM-Dearborn
Presentation transcript:

Introduction to Cognition and Gaming 9/25/02: Von Neumann’s Game Theory, Game Balance

John von Neumann Taught at Princeton University during the 1950’s Colleague of Kurt Gödel Colleague of Albert Einstein Students called von Neumann “The Genius”

The Theory It is always possible to find an equilibrium from which neither player should deviate unilaterally in any game that satisfies the following criteria:  The game is finite – both in number of options at each move, and in total number of moves to the end of the game  The game is zero-sum – one player’s gain is exactly the other’s loss  The game is one of complete information – each player knows all options available to her and to her opponent, as well as outcome values and scale of values

Cutting the Cake Choose bigger piece Choose smaller piece Cut cake as evenly as possible Half the cake minus a crumb Half the cake plus a crumb Cut one piece bigger than the other Small pieceBig piece Cutter Strategy Chooser Strategy

Finding the Saddle Point

Rock-Paper-Scissors Simple, symmetric two-player game Rock defeats scissors Scissors defeat paper Paper defeats rock Same item results in a tie Von Neumann equilibrium – play at random with probability 1/3 RPS R01 P10 S 10

John Nash Generalized coalition-free games for several players Nash equilibrium is the strategy that results in all parties being satisfied by playing the strategy allotted to them i.e., With such a strategy, no player, after learning the moves of all his opponents, cannot come up with something better, provided the opponents do not change their strategies

Nash and the Prisoner’s Dilemma P2 cooperates P2 defects P1 cooperates 3, 30, 5 P1 defects 5, 01, 1

Nash and Chicken P2 cooperates P2 defects P1 cooperates 3, 32, 4 P1 defects 4, 21, 1

Game Balance An unbalanced game is ugly and unsatisfying Important to avoid wasted development on features that are never chosen Aesthetic purity Marriage of design and function

Three Types of Game Balance Player/Player  Each player gets no special advantage but their skill Player/Gameplay  Learning curve is match with rewards to keep player playing Gameplay/Gameplay  Features within game must be balanced against each other

Player/Player Balance Half the fun of games like Virtua Fighter is seeing how different fighting styles compete with each other If all the characters have the same moves, the game would be rather dull Can Sarah beat Lion every time? If so, it’s not terribly unbalanced unless a beginner playing Sarah consistently beats an expert playing Lion, and even then, it may not be not critical if there is a large range of characters to choose from

Player/Player Balance Victory should be achieved by skill and good judgment This doesn’t mean there shouldn’t be an element of luck Most strategies involve a gamble Deciding whether a risk is worth taking is part of the fun for many people Random elements should not favor just one player

Symmetry The simplest way to ensure perfect balance is by exact symmetry Not only symmetrical in weapons, maneuvers, hit points etc., but symmetrical in level (i.e. no player starts with a better position) Although a fair solution, it is rarely interesting

Symmetry Symmetric maps would look unrealistic, and is a too obvious solution to equalize the odds Better to have a level which is functionally symmetrical, but not obviously Have players be flanked by different geographical barriers, needing different units to proceed. The tough (but best!) solution is to give each player different choices, but giving them the same chance to succeed

Symmetry If players are able to choose their starting positions, then you don’t want any position on the map to have an overwhelming advantage Most general solution in this scenario is to avoid making the initial setup important (e.g. there’s resources everywhere!)

Symmetry Remember, only games should be fair If you’re making an historical simulation, then balance is a less important issue In a Conquest of Mexico simulation, it would be terribly unbalanced to have one player be the Conquistadors, and the other play the Aztecs

Player/Gameplay Balance “There is not a university in the world that I am aware of where in order to graduate with a Computer Science degree, you need to have written a program that is used by another individual, much less be graded on your ability to do so.” - Bill Buxton, Chief Scientist, Alias|Wavefront

Player/Gameplay Balance Sometimes developers get so enveloped in implementing “nifty ideas” and coding bells and whistles, that they forget that people will actually play it! Think about the player’s relationship with the game

A Bad Example (that will be offensive to some) “By using the plus and minus keys next to each trait on the menu, you can take points away from some traits and add them to others to get the balance you want. If you really don’t like the hand you’ve been dealt, you can click REROLL to get a different set of values for the various traits.”  The Baldur’s Gate Official Strategy Guide

Player/Gameplay Balance Balance challenges along the player’s learning curve RPG’s – don’t just make the monsters tougher as I gain experience – give me more options and abilities! Reward the player Let the machine do the work Make a game you don’t have to play against

Reward the Player Players will make mistakes in the beginning In order to keep encouraging the player to continue playing, give him a reward for learning something new and applying it properly Gameplay payoff and graphics need to be worthwhile Widen the gaming experience! “Now that I can do the flying scissors kick, I see a whole new use for the reverse punch!”

Let the Machine do the Work If the game involves tedious tasks that aren’t fun, don’t make the player do them Often a question of interface Don’t bother the player – make the AI do it Some designers cross the line between gameplay feature and chore Example: RPG’s that come with graph paper for you to map the dungeons

Don’t Play Against the Game Player should succeed with skill and judgment, not because he goofed up so many times that there’s only one possible solution left. Some games are designed around the need to save – BAD BAD BAD!!! A game that requires reloading as a normal part of the player’s progress is fundamentally flawed.

Gameplay/Gameplay Balance We want there to be a variety of interesting choices rather than a single choice that always dominates This isn’t easy to establish because the optimum choices depend on the choices other players make It’s not easy to see how frequently different choices will be worth making, but this must be known in order to balance the game

Intransitive Relationships transitive, adj. - being or relating to a relation with the property that if the relation holds between a first element and a second and between the second element and a third, it holds between the first and third elements intransitive, adj. – not transitive (duh)

Intransitive Game Mechanics Consider a SF II style game with three main attacks. Forward kick, stomp, and leg sweep Leg sweep beats forward kick Forward kick beats stomp Stomp beats leg sweep Sound familiar?

Intransitive Game Mechanics Against an AI that chooses randomly, you can equal its score by continually executing one move (e.g. leg sweeps). You will win, lose, and draw 1/3 of the time A human opponent would recognize this behavior, and adapt by using more stomps, which would force me to use more forward kicks, etc.

The Interaction Matrix Leg SweepForward KickStomp Leg Sweep0+1 Forward Kick0+1 Stomp+10 Shows payoff for playing a maneuver vs. your opponent’s maneuver Game is zero-sum

What if the Costs were Different? Suppose a stomp costs 3 points, a forward kick costs 2 points, and a leg sweep costs 1 point Also suppose that by beating your opponent, you gain 5 points, and you lose 5 points if you are defeated The net payoff matrix now becomes…

Net Payoff Matrix Leg SweepForward KickStomp Leg Sweep0+6-3 Forward Kick-60+6 Stomp+3-60 Thus, if I choose leg sweep and you choose stomp, you spend 3 points and I spend 1 point, meaning the difference is +2 points in my favor. But because stomp beats leg sweep, I lose 5 points, netting me -3

Finding the Ratio of Use We’ll call the net payoff for using each move L, F, and S. We’ll call the respective frequencies l,f, and s. Thus, the net payoff for using the leg sweep is: L = (0 x l) + (6 x f) + (-3 x s) These values are taken from the net payoff matrix

The Equations L = 6f – 3s F = 6s – 6l S = 3l – 6f Since it’s zero-sum: L + F + S = 0 Since we’re looking for the equilibrium: L = F = S = 0

The Equations Solving the equations gives us the ratio: l:f:s = 2:1:2 What this means is that for the game to reach equilibrium, the leg sweep and stomp need to be used 40% of the time, while the forward kick is used 20% of the time This isn’t immediately obvious, hence the need to do the math If one option is expensive, often the other options are most affected

Odd-Number Intransitive Relationships SamuraiShugenjaAshigaruArcherNinja Samurai0+1 Shugenja0+1 Ashigaru 0+1 Archer Ninja+1 0

Or… Samurai Shugenja Ashigaru Archer Ninja

Even-number Intransitive Relationships ArcherWarriorBarbarianSorcerer Archer0+10 Warrior0+1 Barbarian+10 Sorcerer0+10 Some players find this asymmetry appealing, since the player doesn’t merely have to learn a cyclical pattern of win-lose relationships

Or… Archers Sorcerers Barbarian Warrior =

The Three Magic Rules of Balance Player/Player – A player should never be put in an unwinnable situation through no fault of their own Player/Gameplay – The game should be as fun to learn as it is to play, and it should be more fun the more you master it Gameplay/Gameplay – All options must be worth using sometimes, and the net cost of using each option must be proportional with the payoff you get for using it