You cannot have it both ways. Either God is the author of evil because He dictates every action or else God permits free will to occur with the resulting evil that satan and men may do.
If God directs satan, then He is the author of evil. We Christians reject that. We believe that God is not the author of evil. And therefore satan operates within Creation of his own free will, as we do.
I worked the game out painstakingly when I was a youth by starting with only two cards left, then going to three, then four, etc., and recording the pattern of how many cards had to be removed in order to win.
I think I remember learning later that in the movie, the winner makes a mistake but then corrects it in the next round. God of course would not make a mistake.
It is easy, on the other hand, for someone who does not know the pattern to make a mistake.