An infallible omnipotent programmer/creator wouldn't make mistakes so the NPC's would do exactly and only as he intended when he programmed them. Including transgressing then punishing each other. There's no room for error or glitches all the disasters, diseases, good and all the bad are firmly his doing. No room for free will at all its just a puppet show.
"He is the Rock; his deeds are perfect. Everything he does is just and fair. He is a faithful God who does no wrong; how just and upright he is!"
Deuteronomy 32:4.
For however long it was when Adam and Eve were first created on earth..... it is a misconception of mankind to assume the Devil was created on earth.. The devil or satan.. or the enemy of God almighty was around long before mankind was in existence...
in fact it says Satan was cast out of heaven at a certain point in time... which suggests he was a type of being that resided in Heaven
The fact he conversed with God and accuses Gods Son... it is akin to a enemy who is in a legitimate legal battle!! how much different is this scenario to the Democrats and republican fight taking place today!!
The point is... God Almighty and his Kingdom... are essentially fighting for right of Rule for the hearts of Men!!
why i do say this?? it is because that is where the HACK took place in the beginning of Genesis...
The 1st deception that took place by Satan... was making the Forbidden Fruit desireable...and suggesting that you will NOT die.. but will become like God Almiighty
arguing over diseases, disasters and all manner of trouble facing mankind... is simply a whole separate issue... a valid one sure... but to throw it all in... just makes a mess of the argument of Free Will
It is the will of God that mankind be saved.... but if mankind choose destruction(consequence of bad instruction).. who is God to change your Mind and your will
That is God Almighty giving you the Freedom to choose as you so will!!
(The hearts and minds of America is being fought for Today - This is the choice of its people to determine its Fate!! This is essentially the essence of Free Will)
Just be aware Satan has been around since the Dawn of man... deceiving mankind!!
Choose your path!!