hathix / baseball-sim

MIT License
1 stars 0 forks source link

architecture #2

Open hathix opened 6 years ago

hathix commented 6 years ago

HalfInning handles ball, strike, single, double, etc. each one of those returns a subclass of Event which includes things like the count and result (like who moved up each base). that is then translated to english (from a strings file) then shown on the ui