The computer opponent seems to know where my hidden units are
Players notice at once when the opponent reacts to things it cannot see, and call it cheating. This entry gives your AI an audit that compares what the opponent looked at with what it was allowed to see, and lets it remember recent sightings.
Why this works
An opponent is allowed to act on what it saw recently, so the rule is not that every read must be visible now. A time limit on remembered sightings separates fair memory from a hidden look at the whole map.
When not to use it
Skip it if your opponent is meant to cheat openly on a high difficulty. Then name that level honestly and run this audit on the other levels only.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 27 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 "The computer opponent seems to know where my hidden units are" (read_entry strategy-opponent-sees-through-fog) 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