ReadonlycompleteReturns true if the game is complete.
ReadonlydriveReturns the number of drives in the game so far.
ReadonlyplayReturns the total number of plays in the game so far.
Returns the away team's offensive stats as a JSON object.
Returns a specific drive by index with enriched play data.
index - The drive index (0-based)Returns the latest play with enriched data, or null if no plays have been simulated.
Returns the home team's offensive stats as a JSON object.
Returns the game as a JSON-serializable object.
The structure matches the core Game type used in league matchups.
A WASM-friendly wrapper around the core
Gametype.This class holds the accumulated game log (drives and plays) and provides query methods for accessing enriched play data, stats, and serialization.