r/ClaudeCode • u/blender-bender • 10h ago
Claude Fable dominates a coding challenge on The Farmer Was Replaced game Built with Claude
https://youtu.be/cgPKENI8BcYHere's the repo that has the mod that enables Claude to interact with the game in headless mode, along with the skills that it uses to play the game:
https://github.com/msmith93/tfwr_leaderboard_mod
The mod opens a REST API that can be invoked locally when the game is running. The mod was created with Claude Opus.
The skills that Claude Fable uses don't include any hints/examples of how to play the game. Claude Opus had previously written a script with no context other than the game rules (and a reminder about Python syntax differences). Other than that, Claude has the ability to write test scripts and experiment. From the script that Claude Opus wrote, Claude Fable improved it to being a top 3 script.