Hangman
Posted: Thu Jan 29, 2015 11:03 am
Hi, my name is Lewis Harrow, and I am doing advanced higher computing. My project is to create a game of hangman.
I have created 3 different versions of each letter the user can guess. Each letter is an image, so is in an image field. There is, for example, a green 'A', a red 'A', and a blank 'A'. The image that is shown depends on if the letter that the user guesses is correct. For example, if the user guesses the letter 'A', and it is correct then a green 'A' will appear.
I am struggling with making the letter the user inputs change color depending on what the word is.
Any suggestions are greatly appreciated!
I have created 3 different versions of each letter the user can guess. Each letter is an image, so is in an image field. There is, for example, a green 'A', a red 'A', and a blank 'A'. The image that is shown depends on if the letter that the user guesses is correct. For example, if the user guesses the letter 'A', and it is correct then a green 'A' will appear.
I am struggling with making the letter the user inputs change color depending on what the word is.
Any suggestions are greatly appreciated!