Hangman

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lharrow98
Posts: 1
Joined: Thu Jan 29, 2015 10:48 am

Hangman

Post by lharrow98 » 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!

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Hangman

Post by Klaus » Thu Jan 29, 2015 1:54 pm

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

Post Reply

Return to “Games”