How are the original computer opponents able to play MarioKart?
2. The logic is usually a bunch of (human-authored) scripts consisting of if-else spaghetti.
Wouldn't surprise me if they don't even 'drive' in any sense while off-screen, just increment some abstract position relative to the track length. But I don't know this for a fact.
Tell me more!
It's a common enough term, though, there's even a page for the trope here:
Then again, maybe this is just done by cheating simply with an RNG.