My AI added a piece of code for the boss that nothing in the game ever calls
A feature that is written but never connected does nothing, and the AI that wrote it may still describe it as working. This helper lists the named pieces of code that no one calls, while counting a call from the page itself and ignoring mentions in comments.
Why this works
A feature is only alive if something reaches it. Counting how often a name appears outside its own definition shows the written-but-unplugged ones at once, without playing every boss and every corner of the game.
When not to use it
Names built from text at run time, like calling "on" plus an event name, cannot be seen by counting. Also an entry point called by the browser only appears unused if the page that calls it is not in the list.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 4 common mistakes and the fix
- 41 lines of example code with 3 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "My AI added a piece of code for the boss that nothing in the game ever calls" (read_entry work-act-code-nobody-calls) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP