To determine a compelling and smallest upper bound on the number of reasonable StarCraft 1 (Brood War) games, we need to carefully define what constitutes a "reasonable" game in the context of competitive play, while also considering the constraints of the game’s mechanics. StarCraft 1 is a real-time strategy (RTS) game with a vast number of possible game states, but competitive games are constrained by practical limits such as game length, map size, unit counts, and player behavior. Below, I outline a rigorous approach to derive a meaningful upper bound, keeping in mind the "smallest" requirement while ensuring the bound is compelling and relevant to competitive scenarios.
Step 1: Define a "Reasonable" Game in Competitive Context
In competitive StarCraft 1, games are constrained by several practical factors:
- Game Length: Competitive games typically last between 5 and 30 minutes, though rare games (e.g., base trades or stalemates) can extend to an hour. The game has a maximum time limit of 24 hours (as per the game’s internal clock, after which it ends in a draw), but such extremes are not reasonable in competition.
- Map Size: Competitive maps are finite, typically ranging from 64x64 to 256x256 tiles, with most standard maps being 128x128 or 192x128 tiles. This limits the number of possible unit positions.
- Unit Count: The game has a hard limit of 200 supply per player (with a maximum of 1650 units total across all players, including buildings and units, due to engine limitations). Competitive games rarely approach this limit due to resource and time constraints.
- Actions: Players perform actions (e.g., unit movements, attacks, building construction) at a finite rate, constrained by human reaction times and the game’s tick rate (approximately 24 frames per second).
- Win Conditions: Competitive games end when one player achieves victory (e.g., by destroying the opponent’s base or forcing a concession), not by exhausting all theoretical possibilities.
A "reasonable" game, therefore, is one that could plausibly occur in a high-level competitive setting, adhering to these constraints and typical player strategies.
Step 2: Theoretical Maximum Number of Games
To establish an upper bound, we first consider the theoretical maximum number of possible StarCraft 1 games, ignoring the "reasonable" constraint. This will help us understand the scale of the problem before narrowing it down.
Game State Space
A StarCraft 1 game can be thought of as a sequence of game states, where each state is defined by:
- The positions, types, and statuses of all units and buildings.
- The resources (minerals, gas) available to each player.
- The game timer, fog of war, and other game variables.
The number of possible game states is astronomical due to the combinatorial explosion of unit positions, types, and interactions. For example:
- On a 128x128 map, there are 16,384 tiles, each of which can be occupied by a unit or building, or be empty.
- There are over 100 unit types (including buildings, workers, combat units, etc.), each with various states (e.g., health, energy, upgrades).
- Players can issue commands to units at each game tick (24 per second).
If we consider a game as a sequence of states over time, the number of possible games grows exponentially with the game length. For a game lasting ( T ) seconds, with ( S ) possible states per tick, the number of possible sequences is on the order of ( S^{24T} ). Even for a short 5-minute game (300 seconds), this number is infeasible to compute directly due to the vastness of ( S ).
Practical Constraints
However, this theoretical maximum is not useful for competitive play, as it includes many implausible scenarios (e.g., players doing nothing, units moving randomly, or games lasting hours without progress). We need to constrain the problem to "reasonable" games.
Step 3: Constraining to Competitive Games
To make the problem tractable, we focus on the factors that define a competitive game and limit the state space accordingly.
1. Game Length
Competitive games typically last 5 to 30 minutes, with an average of around 15 minutes. Let’s use 30 minutes (1800 seconds) as a conservative upper bound for game length in competitive play. At 24 ticks per second, this gives ( 1800 \times 24 = 43,200 ) ticks per game.
2. Player Actions
In competitive play, players perform actions at a finite rate, measured in Actions Per Minute (APM). Professional players typically have an APM of 200–400, with peaks up to 600 in intense moments. Let’s assume a generous upper bound of 600 APM, or 10 actions per second, per player. For a 30-minute game, each player performs at most ( 1800 \times 10 = 18,000 ) actions.
Each action can be one of many types (e.g., move a unit, attack, build, research), but the set of possible actions at any moment is constrained by the game state (e.g., available resources, unit counts, map state). For simplicity, let’s assume each action is a choice from a finite set of "meaningful" options, such as:
- Moving a unit to one of ( k ) possible tiles (where ( k ) is limited by the map size and movement range).
- Attacking one of ( m ) possible targets.
- Building one of ( b ) possible buildings or units.
3. Unit and Building Limits
The game’s supply limit (200 per player) and unit cap (1650 total) constrain the number of entities on the map. In competitive play, players rarely reach these limits due to resource and time constraints. A typical high-level game might involve 50–100 units per player, including workers, combat units, and buildings. Let’s assume a generous upper bound of 200 units total across both players (100 per player).
Each unit can be in one of many states (e.g., position, health, energy), but the number of "reasonable" states is limited by competitive strategies. For example, units are typically grouped into armies or positioned at key locations (e.g., choke points, expansions), rather than scattered randomly across the map.
4. Map Constraints
Competitive maps are designed with specific layouts, including resource locations, choke points, and open areas. This reduces the number of "reasonable" unit positions compared to a fully random 128x128 grid. For example, units are often positioned at one of a few strategic locations (e.g., natural expansion, main base, center of the map), rather than on every possible tile.
5. Game Outcomes
Competitive games end in one of a few ways:
- One player destroys the opponent’s base or forces a concession.
- A draw (rare in competition, but possible in stalemates).
The sequence of actions leading to these outcomes is constrained by optimal or near-optimal strategies, rather than random or nonsensical play.
Step 4: Modeling the Number of Games
To estimate an upper bound on the number of reasonable games, we model a game as a sequence of player actions, constrained by the above factors. Each action changes the game state in a way that progresses the game toward a competitive outcome.
Action Space
At each tick, a player can perform an action or do nothing. Let’s assume each action is a choice from a finite set of ( A ) possible actions, where ( A ) represents the number of "meaningful" choices at any moment. Estimating ( A ) is challenging, but we can make a reasonable approximation:
- Move a unit: A unit can move to one of ( k ) adjacent or nearby tiles. For a 128x128 map, ( k ) might be on the order of 10–100, depending on the unit’s movement range and strategic constraints.
- Attack a target: A unit can attack one of ( m ) enemy units within range, where ( m ) is limited by the number of units on the map (e.g., ( m \leq 100 )).
- Build or research: A player can choose from ( b ) possible buildings, units, or upgrades, where ( b ) is limited by the tech tree and available resources (e.g., ( b \leq 50 )).
A conservative upper bound for ( A ) might be 1000, representing the maximum number of distinct, meaningful actions a player could take at any moment (e.g., move any of 100 units to one of 10 locations, attack one of 100 targets, or build one of 50 options).
Sequence of Actions
For a 30-minute game, each player performs at most 18,000 actions. If there are two players, the total number of action pairs (one action per player per tick) is constrained by the game’s progression. However, not every tick involves an action, and many actions are "dependent" (e.g., a player’s response to an opponent’s move). To simplify, let’s assume the game is a sequence of ( N ) "decision points," where each decision point represents a meaningful change in the game state (e.g., a build order choice, a battle, a base expansion).
In competitive play, the number of decision points is much smaller than the number of ticks or actions. For example, a game might involve:
- 10–20 build order decisions (e.g., what to build, when to expand).
- 5–10 major battles or skirmishes.
- 5–10 strategic movements (e.g., positioning armies, taking map control).
Let’s assume a generous upper bound of ( N = 100 ) decision points per game, where each decision point involves a choice from ( A = 1000 ) possible actions per player.
Number of Games
If each of the ( N = 100 ) decision points involves a pair of actions (one per player), and each player chooses from ( A = 1000 ) options, the number of possible action sequences is:
[
\text{Number of games} \leq A^{2N} = 1000^{200}
]
This is still an enormous number, but it is much smaller than the theoretical maximum (( S^{24T} )) because it accounts for the constraints of competitive play.
Logarithmic Representation
To make sense of this number, express it in logarithmic form:
[
\log_{10}(1000^{200}) = 200 \times \log_{10}(1000) = 200 \times 3 = 600
]
Thus, the number of games is on the order of ( 10^{600} ). This is still an overestimate, as it assumes every decision point is independent and every action is equally likely, which is not true in competitive play.
Step 5: Tightening the Bound
The bound of ( 10^{600} ) is not "compelling" because it is far too large to represent "reasonable" games. Many of the action sequences it includes are implausible in competition (e.g., random or nonsensical strategies). To tighten the bound, we need to further constrain the action space and decision points.
1. Strategic Constraints
In competitive play, players follow strategies that are optimal or near-optimal, constrained by the game’s meta (e.g., build orders, unit compositions, map control). The number of viable strategies is much smaller than the number of possible actions. For example:
- Build Orders: There are a limited number of viable build orders per race (e.g., Terran, Zerg, Protoss). While the exact number is hard to pin down, professional players typically choose from a few dozen standard openings, with minor variations.
- Battles: Battles are constrained by unit compositions, micro (unit control), and map features. The number of "distinct" battles is limited by the number of viable army compositions and strategic positions.
- Game Progression: Games follow a predictable progression (e.g., early game, mid-game, late game), with a limited number of transitions between phases.
Let’s assume each decision point involves a choice from a much smaller set of ( A' = 10 ) viable actions per player, reflecting the fact that only a small subset of actions are strategically meaningful. For example, at a given moment, a player might choose between:
- Expanding to a new base.
- Building a specific unit type.
- Attacking a specific location.
- Defending a specific position.
2. Fewer Decision Points
The number of decision points ( N ) can also be reduced. In a competitive game, many actions are "automatic" or deterministic (e.g., workers mining, units following orders). The number of truly strategic decisions is likely closer to ( N' = 50 ), reflecting key moments that define the game’s outcome.
Revised Bound
With ( A' = 10 ) and ( N' = 50 ), the number of possible action sequences becomes:
[
\text{Number of games} \leq (A')^{2N'} = 10^{100}
]
This is a much smaller bound, though still enormous. It represents the number of distinct "strategic paths" a game could take, assuming each player makes one of 10 meaningful choices at each of 50 decision points.
Step 6: Considering Game Outcomes
The bound of ( 10^{100} ) counts distinct action sequences, but many sequences lead to the same outcome (e.g., one player wins). In competitive play, we are often more interested in distinct games up to strategic equivalence, where two games are considered the same if they follow similar strategic paths and end in the same result (e.g., Player 1 wins with a specific strategy).
To account for this, we can further reduce the bound by considering only the number of "distinct strategies" or "game plans" that lead to a win, loss, or draw. For example:
- Each race (Terran, Zerg, Protoss) has a limited number of viable strategies on a given map (e.g., 10–20 per race).
- Matchups (e.g., TvZ, PvP) constrain the number of strategic interactions.
- Maps (e.g., standard competitive maps like Lost Temple, Python) further limit the number of viable strategies.
If we assume each player chooses from ( S = 20 ) viable strategies per game, and there are ( M = 10 ) standard maps, the number of distinct strategic games (up to equivalence) is:
[
\text{Number of games} \leq M \times S^2 = 10 \times 20^2 = 4000
]
This bound is much smaller and more "compelling" because it reflects the number of strategically distinct games that could plausibly occur in competition, rather than counting every possible action sequence.
Step 7: Finalizing the Smallest Compelling Upper Bound
The bound of 4000 is likely too small, as it oversimplifies the problem by ignoring variations within strategies (e.g., micro decisions, battle outcomes). A more compelling bound would account for these variations while still being constrained to competitive play.
Let’s revise our action-based model with tighter constraints:
- Assume ( N'' = 20 ) decision points, reflecting only the most critical strategic choices (e.g., build order, major battles, expansions).
- Assume ( A'' = 20 ) viable actions per player per decision point, reflecting a broader but still constrained set of strategic options.
The number of games becomes:
[
\text{Number of games} \leq (A'')^{2N''} = 20^{40}
]
Expressing this in logarithmic form:
[
\log_{10}(20^{40}) = 40 \times \log_{10}(20) \approx 40 \times 1.3 = 52
]
Thus, the number of games is on the order of ( 10^{52} ).
This bound is "compelling" because it is large enough to capture the vast diversity of competitive games, but small enough to exclude implausible or non-competitive scenarios. It is also the "smallest" reasonable upper bound in the sense that further reducing ( N'' ) or ( A'' ) would exclude many plausible competitive games.
Step 8: Comparison to Other Games
To validate this bound, consider the number of possible games in other well-studied games:
- Chess: The number of possible chess games is estimated at ( 10^{120} ) (the Shannon number), though the number of "reasonable" games is much smaller (e.g., ( 10^{40} )).
- Go: The number of possible Go games on a 19x19 board is estimated at ( 10^{170} ), though again, reasonable games are fewer.
StarCraft 1, as an RTS game, has a larger state space than chess or Go due to its real-time nature, continuous map, and complex unit interactions. A bound of ( 10^{52} ) for reasonable games is therefore plausible, as it is larger than chess’s reasonable game bound but smaller than the theoretical maxima of these games.
Final Answer
A compelling and smallest upper bound on the number of reasonable StarCraft 1 games that could occur in a competitive setting is approximately ( 10^{52} ).
This bound reflects the vast diversity of competitive games while excluding implausible scenarios, and it is derived by modeling games as sequences of strategic decisions constrained by the practical limits of competitive play.