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.
Playing games that simulate magicians, witchcraft, and sorcery is forbidden, but on its own, it is neither polytheism nor disbelief.
Children should be prevented from these games; the father can find many alternative suitable games for his children that are devoid of simulating magic and the like.
For more benefit, please refer to Fataawa 341431 and 88539.
Allah knows best.