0
I decided to make a mini hangman game just to not rust in php, I’m having problems with words with accents, example: apple. Initially, I take it from an array and separate it into an array, leaving (m, a, ç, ã). In the game I have a virtual keyboard of the alphabet without accent, how do I when the user presses on the key of the keyboard it besides showing the letter a of the second position also show the with accent? would be to compare one character with another by removing this other’s accent. I didn’t post code because in this case it’s irrelevant, since it just makes (a == ã) true.
How are you mounting this keyboard ? the ideal would be a keyboard with ABTN pattern until some words with accent sound different
– Gabriel Rodrigues
I see no problem in it, the keyboard I have is as I quoted, only the alphabet, no accent, like all hangman games.
– Leonardo