MikeCaputo / kingston-ny-mtg

A place to host a few small tools for the Kingston, NY MtG community.
1 stars 0 forks source link

Add commander names, logging, and AI-generated game summary. #10

Closed MikeCaputo closed 3 months ago

MikeCaputo commented 3 months ago
  1. Adds input for player / commander names. Resolves this issue: https://github.com/MikeCaputo/kingston-ny-mtg/issues/5
  2. Game actions are recorded in a log. Resolves this issue: https://github.com/MikeCaputo/kingston-ny-mtg/issues/6
  3. This log is used to AI-generate a game recap, which is then displayed at the end. There is huge room to expand on this, but as a proof of concept this is a good first step.
  4. Note, that the openai key is now added via a local file. A good solution for now, but a longer-term solution will be handled here: https://github.com/MikeCaputo/kingston-ny-mtg/issues/8
  5. The code is not pristine, but it's in a good-enough state without agonizing over it too much at this point. Created several spin-out issues so this PR doesn't get too large. I'm not fully focused on this project, so I don't want to get big PRs which will require a lot of mental upload for me.
MikeCaputo commented 3 months ago

Self-reviewed the code. A few todos and comments in there, but that's fine for this stage of the project.