This is my first program in php and I want to make word-guessing game
So, I need your help to do this program same like this picture below!
And I want this action to have
if the input word is the correct word
o Display msg 'You have Won' and end or restart the game.
if the input letter is a matching letter.
o Show the correct letter
If not, then its an incorrect input.
o Show the incorrect letter and count how many incorrect trials.
o If count exceeds allowed trials display msg 'you lose' and display the correct word.
|