initial commit

This commit is contained in:
George Powell
2026-03-26 12:11:43 -04:00
commit 9b779598e9
25 changed files with 665 additions and 0 deletions

21
types/GameState.ts Normal file
View File

@@ -0,0 +1,21 @@
import type { Team } from "./Team";
export type GameState = {
readonly inning: number;
readonly top: boolean;
readonly count: AtBat;
readonly outs: number;
readonly score: GameScore;
// homeTeam: Team;
// awayTeam: Team;
}
type AtBat = {
readonly balls: number;
readonly strikes: number;
}
type GameScore = {
readonly home: number;
readonly away: number;
}