Page 1 of 1

Hangman

Posted: Thu Jan 29, 2015 11:03 am
by lharrow98
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!

Re: Hangman

Posted: Thu Jan 29, 2015 1:54 pm
by Klaus
Hi Lewis,

1. welcome to the forum! :D

2. Do you already have any code snippet we can start with?
How will you check if the user entered text is correct at all?
Will the user click a button or should the check take place automatically?

Please provide more infos, thanks!


Best

Klaus