I sometimes play a certain computer role-playing game (RPG). In this game, my character (whom I might name after myself but who does not otherwise resemble me) fights mythological creatures and collects handy items. In the end, I aim to have my character retrieve a powerful treasure from the place where it is kept.
If I choose, my character can choose to worship one of 18 available "gods". If my character kneels at an altar, prays to it, or sacrifices creatures, then the "god" I choose might give my character special abilities or better items.
I wonder if I may cause my character to worship a "god" while playing this computer game. What do you suspect is the answer?
What if I modify the source code of the game and rename all the "gods" to "Hashem"?
You may answer using logic. But please base your logic on rabbinic sources you've read or heard from. And please cite your sources.
Mi Yodeya is not always correct, and does not take the place of seeking advice from your rabbi.
Please ask your rabbi instead of trusting what you read here, for various reasons.
Possibly related, regarding idolatry:
Possibly related, regarding violence: