Won't let me sign in to my apple account - help please!

I played this game when it came out on launch for a couple weeks then stopped.
Last night I downloaded it again, but I’m coming across a very weird problem.
Everytime I click on restore purchase, or anything that prompts me to log in to my apple account,
The password I am putting (the correct one) is showing up incorrect

I tried this password to log in to my account in various different ways, but when I try doing it on dungeon quest it’s telling me I’m putting the wrong password
Can anyone please help

Thanks