All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
There is apparently nothing to entail forbidding or prohibiting the mere use of the idea of a game which contains Shariah violations to make a new game that is free of such Shariah violations as long as the new game or story is free from what contradicts the sound Islamic creed, such as the manifestations of Kufr and Shirk, indecent images that are sexually arousing, imitation of prohibited deeds, and the like of Shariah violations.
For more benefit, please refer to fatwas 259372 and 240244.
Allah knows best.