Computer Science Canada Simple Turing Number Game #2 |
Author: | xSavage [ Thu Oct 29, 2015 3:50 pm ] | ||
Post subject: | Simple Turing Number Game #2 | ||
What is it you are trying to achieve? Alright so this is my second question on the same topic, my last question has been answered and now i have a new one. For those of you who don't know, my program is supposed to make a random number and then the user has 10 guesses to try and find the number. What is the problem you are having? OK, what I've been trying to do is display the comments in a row going from top to bottom in the middle of the screen. What I mean by comments is when the user inputs a number and the computer outputs "Higher.", "Lower." and "Invalid number". Describe what you have tried to solve this problem So far what i cant do is get the comments to go lower and lower. What happens is they stay in the same spot and start overlapping each other. I know how to locate them in a certain spot but not how to get them to lower. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using 4.1.1 |
Author: | Insectoid [ Thu Oct 29, 2015 5:08 pm ] |
Post subject: | RE:Simple Turing Number Game #2 |
I don't experience this on my computer. Using this exact, code, it scrolls down the page just fine. |
Author: | xSavage [ Thu Oct 29, 2015 7:47 pm ] |
Post subject: | Re: RE:Simple Turing Number Game #2 |
Insectoid @ Thu Oct 29, 2015 5:08 pm wrote: I don't experience this on my computer. Using this exact, code, it scrolls down the page just fine.
No, i know that it works but what I'm trying to get it to do is display the exact same thing but in the middle. I tried moving the location so it shows in the middle of the page, but what happened was when there was a second "Higher" they started to overlap. |
Author: | Insectoid [ Fri Oct 30, 2015 6:00 am ] |
Post subject: | RE:Simple Turing Number Game #2 |
Oh, well you could just insert a bunch of spaces instead of using locate(). |