Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If there is a programmed connection to the physics for the in-game commentary then it should be here: https://github.com/pncnmnp/xpong/blob/main/main.py#L212

https://github.com/pncnmnp/xpong/blob/main/main.py#L289:

  "- **Shot Angles:** Derive each shot's angle from the (vx, vy) vector:\n"
  "    • Steep angles (>45°) become daring corner lobs or sharp cross-courts.\n"
  "    • Moderate angles (15°-45°) look like graceful arcs that test court coverage.\n"
  "    • Shallow angles (<15°) play out as direct, flat drives down the line.\n"
Didn't find where the balls motion is communicated to the LLM.


So like real commentary then :D


It is all in the delivery, as it were.


"Real time"

It does need some pointless anecdotes about past statistics, history of the game, training regimes, new managers and so on!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: