Opportunity Cost

Opportunity cost is a very simple concept.  The opportunity cost of any action is any other actions that are then precluded.

If I have one hundred dollars, and I use it to buy a bicycle, the opportunity cost of that purchase is all of the other things that I could have purchased with that hundred bucks.

When looking at games, and specifically decisions within games, it’s a useful concept, as thinking about the opportunity cost of a decision can help us define what the actual decision is at any point.

If a decision has no opportunity cost, then it’s not a decision.  This is rare - usually, even *not* doing somehting is a viable alternate, and so the opportunity cost of any action is, generally, that you lose the ability to not perform the action.

As an example, if casting a particular spell is free, and that spell has some lasting effect on the player, then the opportunity cost of casting that spell is *not* having that effect on you.

For another example of how thinking about opportunity cost can help in game design, let’s look at RTS games.  In a typical RTS game, you will have some type of gatherer unit that collects resources.  A typical decision early in most games, is whether the player should build more gatherer units, start building offensive units, or start building defensive units.

Any of these choices does not preclude you performing the others in the future.  Building production units at the immediate moment doesn’t stop you from building offensive or defensive units later - in fact, it makes it easier.  In many games, you could actually, to some extent, build all three at once.

So, what’s the effect of building production units early?  You get an early boost to your economy that (generally) will give you an early bonus in production, assuming that you live long enough to see it.  Similarly, early production of offensive units gives you the ability to do an early attack before your opponent has had a chance to build any defense, and early production of defensive units will defend your base against an early attack.

When you look at these three choices, the traditional 3 early game strategies (expand, rush, defend) become very obvious.  The opportunity cost of “early production” is early defense and offense - you become vulnerable to an opponent doing an early attack.  The opportunity cost of early defense is production and offense - you can’t take advantage of your opponent if they don’t defend early, and you lose any production boost you could use against a defensive opponent.  The opportunity cost of early offense is that you don’t get the production boost, and are still vulnerable against early attacks (although you can meet the opposing force head-on and at least have a chance).

Another interesting place to look at opportunity cost is MMO abilities.  In typical MMOs, abilities have sufficiently long reuses that casting a spell or using an ability does not, in any meaningful way, preclude using the other abilities.  And, with the generally slow regeneration of power, abilities usually don’t cost enough power for power to be a truly first-tier consideration in what you should do.

So, what’s the opportunity cost?  Generally, it seems to be tied to a few things:

  1. Time to execute the ability.  Since, in most MMOs, abilities hav an execution time that prevents you from doing other activities, the opportunity cost of an ability is the fact that while it prevents you from doing other things during that time.
  2. Side effects of the ability.  Casting a large, damaging spell may have side effects such as angering the opponent so that it will attack you.  In many cases, this is undesirable.
  3. Abilities that are mutually exclusive.  This is often seen in “stances” that some classes can take which are mutually exclusive, but it can also be seen in spells where a spell can prevent another type of spell from being cast on the same target, either offensively or beneficially.
  4. Power can be a consideration, as it can prevent you from casting other spells, but this usually happens later in the fight (especially when things have already taken a bad turn)

BTW, opportunity cost is an economic term, and you’ll be seeing a lot of things from economics in this blog over time.  Mathematical game theory is often used in economics, and games are often about resoure allocation, which is, in many ways, what economics is about.

Design

Comments (3)

Permalink

Opponents and Games

Opponents

All games have opponents.  A game without an opponent is a space, or a toy.  A challenge to overcome defines a game, and is what makes it separate from a space or a toy.

There are two main “types” of opponents, symmetric and asymmetric.

Symmetric opponents

A symmetric opponent is simply one that has the same level of relative power as the player, usually by virtue of them just being another player themselves.  The abilities of a symmetric opponent do not have to be the same, so long as the overall power is roughly equivalent (in other words, minor imbalances don’t impact this.)

Asymmetric opponents

An asymmetric opponent is an opponent that has a vastly different power level than the player.  They are also, generally, designers or developers rather than other players.  Most single player games are based on an asymmetric opponent.

Opponents and gameplay

This leads to a couple of different types of gameplay.

For a symmetric opponent, games should be 50/50.  There’s always a significant chance of loss, and the game has to be developed with that concept in mind.  If you play tennis, you know you’re going to lose a good amount of the time, depending on your opponent.

For an asymmetric opponent, there is no challenge for the opponent in beating the player.  Since the power differential is so high (possibly infinite), there’s no point in “beating” the player.  Instead, the role of the opponent is to provide a series of challenges to the player.  This means that, in general, the player will have an expectation of eventual success against the opponent.  People expect to be able to beat crossword puzzles and single player games.

Power symmetry and gameplay symmetry

Symmetry here is about power, not options or playstyle.  As an example, in Dungeon Keeper, the single player game is asymmetric - the player is faced with a series of predetermined challenges.  This is asymmetric, as the designer has the ability to develop the challenges however they want.

However, the multiplayer game in Dungeon Keeper involves one player acting as the “keeper”, and basically playing the same game as the single player game, while another player takes the role of the invading heroes.

The multiplayer game is power-symmetric, even though the “hero” player is playing almost an entirely different game (is gameplay-asymmetric).

Skill and symmetry

Skill of individual players does not make a game symmetric or asymmetric.  If the Dodgers play a little league team, the game may not be fair, but it’s still symmetric.  Both teams are playing by the same rules, and have the same options.  That being said, in cases of extreme disparity (such as the one above), one team can decide to make the game asymmetric if they treat it that way.  For instance, if the Dodgers were to place rules on themselves that were designed to be beatable by the little league team, they have changed the fundamental nature of the game.

Power symmetry by changing sides

Power symmetry can also be achieved given two sides of unequal power, by switching the roles.  In a gameplay situation where one side has an advantage, symmetry can still be achieved.  To do so, reverse the roles after the initial ’round,’ and play another round.  Determine the winner based on some measure such as time taken to win, or some other sort of score.

This is frequently done in team-based FPS games, generally in scenarios where one team is an attacking position and has to achieve some goal, and the defending team is at some inherent disadvantage.  This is a useful technique in these situations, as it allows designers greater freedom in scenario development without having to worry about giving one side or the other an advantage.  By switching sides, the game evens out in the end.

Design

Comments (0)

Permalink

So, what about decisions?

If a game is a series of decisions, then we need to ask what makes a good decision.

A decision that’s obvious isn’t a good decision (unless it takes skill, or you don’t have much time to make it).
A decision with no consequences isn’t even a decision.

I could do this for a while, but instead I’m just going to assert: What makes a decision interesting is it being a hard decision.

So, what makes a decision hard?

  • Time constraints
  • Number of choices
  • Number of factors to consider
  • Severity of consequences
  • Duration of consequences
  • Skill required

That’s at least a good start. With that, we can say that the difficulty of a decision is something like:

D = n-choices * n-factors * severity * duration * skill required / time allowed

What’s interesting here is that most of these things can vary based on the player.  Skill certainly can.  The number of choices may not seem to, but experienced players can immediately reject a number of choices for many situations, so that they are only focused on a smaller subset.  The factors to consider can similarly be reduced by a player that knows what is, and is not, important for a given situation.

Severity of consequences, length of consequences, and time required may not seem to vary, but I think even those can.  A good player may know how to mitigate the effects of a poor decision, reducing both the severity of duration of consequences.  Even time factors can arguably be mitigated, as a better player may have seen the decision coming in advance, and can have already been considering the appropriate action to take.

So, what value is any of this?

It gives us a way to analyze a decision, or a series of decisions, and describe how or why they are interesting or uninteresting.  If a section of a game is too hard, we can use these rough metrics to try to define *why* it is too hard.  Is it because the player isn’t given enough time?  Because there’s too many possible choices?  Or maybe too many things he has to keep in his mind at once.  Maybe the consequences are too harsh, or are too long-lasting.

Conversely, if a section of a game is too easy, and too uninteresting, it gives us a number of ways to analyze why.  Is it because while there are a number of choices, only one is really valid?  Maybe there needs to be more time pressure.

Another thing that it lets us look at is tension.  I’m going to define tension as “difficulty over time.”  Tension increases as a player has to make difficult decisions, and increases more if the decisions are more difficult.  Tension decreases over time.

If the tension of a game gets too high, the game can become frustrating.  If tension is too low, the game is boring.

And if tension is based on difficulty, and difficulty is based on the player, then it’s a tough job to balance the game to keep people happy.

And that’s, really, what this blog is about.

Design

Comments (0)

Permalink

What’s a game?

Well, I’m going to go with the Sid Meier quote, “a game is a series of interesting decisions.”

It’s an arbitrary choice, of course.  Any model we make about games is simply a mental model.  It can’t really be right, or wrong.  It can only be more or less useful.

I like the “decision” model for games because it seems to work the best for accurately describing games.  Let me give you a hockey example.  (I’ll use hockey examples a lot.  It’s a rich game, and far enough away from typical video game design to talk about ideas in the abstract without dealing too much with minutae of a particular genre.)

How would you define what “hockey” is?  Do you define it by the equipment?  If so, then that’s a pretty hard definition, because everything has different equipment.  Olympic hockey uses a larger rink than NHL.  Inline hockey isn’t on ice, and uses a smaller rink still.  Street hockey often doesn’t even have skates.  Both street and inline hockey can use balls instead of pucks.  Protective gear between ice hockey and inline hockey varies somewhat, and by the time you get to street hockey, there’s very little protective gear.  But these are all recognizably “hockey.”

But broomball isn’t.  It’s played on ice, and uses hard “brooms” that are basically sticks.  They even have goalies.  So on the equipment scale, it’s somewhere between street hockey and ice hockey (uses shoes like street hockey, is on ice, is on a regulation sized rink, but doesn’t use traditional sticks).  In terms of just “using the same gear as hockey,” it would seem to qualify.  But nobody would suggest that it’s hockey.  Even if you played broomball with a smaller ball (the size of a street hockey ball), and sticks that looked like regular hockey sticks, it still wouldn’t really feel like hockey.

Is it the rules?  If so, that’s a hard sell, because different places play with different rules.  International hockey is played on a larger rink, and with different icing and offsides rules.  Inline hockey generally doesn’t have icing or offsides rules, and has four players on a team instead of the usual five.  Rules change all the time - icing didn’t exist for many years, and in the last few years, the NHL has added an area behind the goal line where goalies aren’t allowed to touch the puck.

Again, at first glance, broomball has at least many of the rules as some hockey variants.  In terms of specific rules, it’s about on par with street hockey (which generally has few rules).  And the core rules (hit something into a net, past a goalie, using a stick-like thing) are the same.  But yet street hockey is hockey, while broomball isn’t.

What remains the same in all of these games is the decisions that you make, at least at a core level.  In all of these variations, you move around, manipulate a fast-moving object with a stick, and try to outmaneuver your opponents so that you can get a good shot, and hopefully score.

And that’s where broomball differs.  The use of street shoes on ice kills mobility.  The large number of people play take an emphasis off of maneuvering.  What’s left is moving a ball around, and smacking it at the goal.  Since the players are mostly static, maneuvering around a player becomes a non issue - just smack it in the general area of the goal, where you will almost certainly have someone just waiting for it.  There will be somebody from the other team there, too, but so what?  That’s pretty much the case everywhere on the rink.

Yes, different forms of hockey (ice, inline, street) have slightly different decisions to be made.  Most inline and recreational hockey doesn’t allow checking, so that’s one decision that you just can’t make.  But the core decisions that make up “playing hockey” are the same in each of them.  Most of the rules do not change the decisions that need to be made, they just weight the choices differently.

This doesn’t mean that broomball is bad.  It’s just not hockey.  And when we are looking to define games, we want a definition that can be matched to reality, and tested against existing games.

And hockey is a good litmus test for this.  A definition for hockey that explains why street hockey and Olympic or NHL hockey appear to be the same game, while broomball isn’t, is probably a pretty good definition.

And the only definition of a game that seems to do that is defining a game as the decisions that are made.

Design

Comments (0)

Permalink

What’s the point?

While I’ve recently left the game industry, I was a member of it for about 13 years.  In that time, I’ve accumulated some thoughts on games, game design, and how to go about designing games.

This is my space to record those thoughts.  It’s different from my main blog (www.wrong.net) in that the main one will focus primarily on technical content, while this one is going to focus more on the more design-y aspects of making a game.

I’m also going to focus on “games” rather than “spaces.”  In this case, I define games as the aspects of a game that are competitive - either against another player, the computer, or the designer himself.  Spaces are places where people can gather.

The two aren’t exclusive by any means - games can be used as spaces (chatting with friends while connected to a Quake server, etc.) and spaces can be used as games (playing role-playing games in an IRC channel).  I’m simply going to focus on the game-like aspects of either of these activities, but that doesn’t mean that I don’t see value in the social or space-like aspect of them.

Uncategorized

Comments (0)

Permalink