36 comments

[ 3.1 ms ] story [ 54.4 ms ] thread
This is nice. MLB has a surprisingly nice API for accessing things like this.

(I misinterpreted "watch" completely different (post history will reflect why))

The obvious next step is to train a model to turn these detailed updates into realistic live-action video.

Of course, the obvious step after that is for MLB to shit a brick and shut down the API.

this is so cool! was it hard building a tui? i see you're even using react in there
That's awesome, now if it would integrate with Plex somehow...
Neat. I always envision that fans of a particular sports franchise use these text descriptions to reconstruct the game in their minds in the same way that people who play blindfold chess [1] do.

[1] https://en.wikipedia.org/wiki/Blindfold_chess

It would be funny to reverse generate Stratomatic card picks and dice rolls from the real data.
This is both really awesome and a perfect explanation for why I find baseball so incredibly boring to watch
I love plaintextsports for baseball already. Baseball is a game that serializes to text very well (and radio) vs other sports. Bringing it to the terminal is cool too.
Totally anecdotal, but there are people who literally get paid to watch games and record what happens at every step. I used to have that job. This is how MLB, ESPN etc. have live updates which powers stuff like this.
What an awesome project at just the right time.

I love baseball and I love that the hacker culture seems to love baseball too.

I read that part of baseball's decline from the premiere American sport was due to its outdated revenue model (strict reliance on ticket sales). The NFL in 80s really embraced TV and reached more fans and here we are. MLB has been recently way ahead of the curve on streaming (MLB.tv, AWS StatCast etc).

I hope projects like this contribute to baseball regaining popularity

I've been getting into baseball and what I love about it is the rising tension.

Like how people take turns playing offense and defense and how you can only get runs by touching home plate - and if the inning is over, you just lose all your progress.

It kind of just feels like a board game with some many things happening at once in such a small amount of time.

This is great. I’m working on something similar for tracking college football games from the terminal. Right now it just shows a List of active games with minimal navigation. lots of great inspiration.
The lock file is 12 times larger than the entire source.

  git clone -q https://github.com/paaatrick/playball.git
  cd playball
  echo $(du -bs package-lock.json | cut -f1) / $(du -bs src | cut -f1) | bc -l
How can we extend this to NFL or NBA?
(comment deleted)
Very cool. I may just cancel my Fubo subscription and switch to this (Fubo has the glitchiest, buggiest, slowest video player I've ever seen)!
I wonder how easy it would be to adapt this to work for NPB/Japanese Baseball.
This is awesome. One of the great outcomes of the datafication of baseball is the timely availability/accessibility of game info.
I fully expected this to play sports streams in terminal with the pixels converted to ASCII kind of like passing ffmpeg thru caca lol
Beautiful.

Does something similar exist for f1? Or soccer?

Espn has a feed of soccer events (cards, shots, goals, etc), but that doesn't give you anything close to a complete state-of-the-game in the way that baseball scoring does.

I did a tour of an MLS stadium yesterday and the tour guide was showing some of the equipment the players wear during the game and the _teams_ actually have a moment by moment read out of exactly where all all the players are on the field and what they are doing, where contact is made on the ball, their heart rate and lots of other stuff, and the ball itself has electronics in it in some leagues, so it actually _is_ possible to completely reconstruct a game from a data feed. Just that the feed isn't public.