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 is His slave and Messenger.
Imitating what is forbidden and featuring it in games is forbidden, because it is a kind of approval and contentment with what is forbidden, and because it leads to the habit of looking at what is forbidden; the matter which leaves an impression in the heart of the player, especially as most of the players are young. It could even be that playing may actually lead to falling into those forbidden matters.
Allah Knows best.