1 / 40

Introduction to Cognition and Gaming

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.

suki-weaver
Download Presentation

Introduction to Cognition and Gaming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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”

  3. 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

  4. Cutting the Cake Chooser Strategy Cutter Strategy

  5. Finding the Saddle Point

  6. 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

  7. 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

  8. Nash and the Prisoner’s Dilemma

  9. Nash and Chicken

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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!)

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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!”

  23. 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

  24. 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.

  25. 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

  26. 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)

  27. 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?

  28. 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.

  29. The Interaction Matrix • Shows payoff for playing a maneuver vs. your opponent’s maneuver • Game is zero-sum

  30. 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…

  31. Net Payoff Matrix 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

  32. 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

  33. 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

  34. 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

  35. Odd-Number Intransitive Relationships

  36. Or… Samurai Shugenja Ninja Ashigaru Archer

  37. Even-number Intransitive Relationships Some players find this asymmetry appealing, since the player doesn’t merely have to learn a cyclical pattern of win-lose relationships

  38. Or… Archers = Sorcerers Barbarian Warrior

  39. 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

More Related