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

8
types/ThrownPitch.ts Normal file
View File

@@ -0,0 +1,8 @@
export type ThrownPitch = {
readonly name: string;
readonly speed: number; // in mph
readonly spinType: "6-12" | "4-10" | "3-9" | "12-6" | "9-3" | "none";
readonly rpm: number; // example: 6-12 with fast rpm is fastball, 6-12 with slow rpm is changeup
readonly accuracy: number; // how likely that a ball will end up where the pitcher meant for it to.
}