This is, effectively, the game that branch predictors in CPUs are playing with your code. Except that, in that version of the game, you win when the CPU guesses correctly.
Branch predictors aren’t playing a game in the sense of this game, because the code isn’t adversarially trying to be unpredictable.
Branch predictors aren’t playing a game in the sense of this game, because the code isn’t adversarially trying to be unpredictable.