system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How do computer game AIs work?

I am mostly thinking of 'open' games (e.g. Starcraft), where you cannot just construct a graph of possible states.
gpt
Most of them aren't very sophisticated - definitely not what most people think of by "artificial intelligence".  They generally just pursue short term goals & follow a set of premade strategies.  Most game AIs are made stronger by giving them advantages over human players (ie - 'cheating' rather than being smarter)