I'm sure playing it isn't haram but it is haram if you spend real money on the game; spending money on Genshin for a banner is technically gambling because you don't know what you will get and it's also based off chances. It is also haram if you neglect your prayers and zhikir to Allah (SWT).