Chris Shinnimin

Final Fantasy Bot Project Journal

Final Fantasy Bot Project Journal

A fun personal project to learn LLMs and React, and rekindle my love of a favourite childhood game.

September 11, 2025

Prev | Project Journal Entries | Github | Next

It's ALIVE! First Successful Test with Live NES Game Data!

Key learnings today:

  • Native React state management behaves in ways I don't expect.
    • Making updates to context appears to simply register an update. If another file later in the same process accesses the state, the update doesn't seem to be there, forcing me to prop drill state down. Not ideal. I'm not sure yet if it's because I'm doing something wrong, or if it's just a limitation of OOB React state management (eg. maybe we ned a library like Redux for real time updates).
  • React hooks can only be used from React components or other hooks, not in API files or other external functions.

Initial RAM Read Request Hook Implemented

What I have been calling the Ram Read Request Module is now a hook instead. I realized it would need to invoke other hooks, and this can only be done from within a React component or hook. I completed the initial version of the RRR hook and it works, but I will need to analyze my code next week as most of today was deep in a gnarly debug and I barely got it working before I had to stop. It may require refactor / reorganization. A problem for next week.

Milestone Reached

It's Friday and I was only able to work a half day on the project today. But I achieved a milestone nonetheless. We now have the bot app talking to the LLM and getting REAL DATA from the NES emulator for its responses!

Prev | Project Journal Entries | Github | Next

Demo of Today's Accomplishments