Displaying Entered Values
June 22, 2016 12:00 AM
Hi all,
I've built a very simple 'Guess the Number' game.
User has the guess a number between 1-99 (shhh it's 65). They type the number in the Entry Field, click submit and either 'Higher' or 'Lower' sign will flash.
I feel this shouldn't be difficult for users to grasp, but never assume right?
How can I have every guess they make appear on the screen?
i.e. User guesses 40 *Higher* flashes, then I want 40 to go into 'Previous Guesses' section, and so on and so on for every guess.
I know that you can 'change contents' to display a value, but seeing as this will be more than 1 guess to display in various places on the screen, I wasn't too sure how to achieve this.
Discussion (1)
You can use an event with a modify variable action and set it to add to variable.
I have attached a small example - i created the variable guesses and gave it an initial value of your guesses, then used the add to option to add every guess they made and a change content to update a text box on the page to show the guesses made
Ian
Discussions have been disabled for this post