Get the latest tech news
Show HN: LLM plays Pokémon (open sourced)
Contribute to adenta/fire_red_agent development by creating an account on GitHub.
Instead, I resorted to using OSA Script (AppleScript) to send keyboard events to the emulator, which meant the game had to be in focus. Since I wasn’t using direct memory extraction for text (as advised by PRET), I took screenshots at key points and processed them with OCR. I used OpenAI’s GPT-4o to process all the gathered information and make decisions.System prompts guided the AI to avoid repeated actions (e.g., trying to pick Charmander before meeting Professor Oak multiple times).
Or read this on Hacker News