@ExitStrategy95 Your program is not properly randomizing numbers. We have the code for this program on the SchoolFreeware website. Also see, Tutorial 13 for more information.
@crazywiiaddict Check to see if Game is an string and that Select Case Game is correctly typed into the code. The code is available on the SchoolFreeware website (no sign-up) so you can check your code for mistakes. - Have a good day.
@beainiekidfan No, I mean it should say that, but only once... if some other letter is entered instead of a,b,c it doesn't need to repeat that, but only the prompt "Please Enter A Game". Or you could go one step further and use INPUT$(1) and not even repeat that prompt... the screen will just stay that way until a valid letter is given.
I think *9 *99 and *999 were supposed to be *10 *100 *1000. You correctly added 1 after taking the integer, but without the 1, *9 yield 0 thru 8, the plus 1 makes it 1 thru 9, not 1 thru 10. Same for the other two cases.
i dont understand how the cnt works? because I don't see any keywords affecting it that would make it count the times the user tried can anyone help me with this?
@beainiekidfan Yeah, that's another way to do it. A slight drawback to that is the resulting "screen flicker" (press and hold a "wrong" key to see what I mean)
@ExitStrategy95 Your program is not properly randomizing numbers. We have the code for this program on the SchoolFreeware website. Also see, Tutorial 13 for more information.
@crazywiiaddict Check to see if Game is an string and that Select Case Game is correctly typed into the code. The code is available on the SchoolFreeware website (no sign-up) so you can check your code for mistakes.
- Have a good day.
@beainiekidfan No, I mean it should say that, but only once... if some other letter is entered instead of a,b,c it doesn't need to repeat that, but only the prompt "Please Enter A Game".
Or you could go one step further and use INPUT$(1) and not even repeat that prompt... the screen will just stay that way until a valid letter is given.
Just a matter of personal taste, but I wouldn't have put the menu within the input validation loop, only the "Please Enter A Game" prompt.
I think *9 *99 and *999 were supposed to be *10 *100 *1000. You correctly added 1 after taking the integer, but without the 1, *9 yield 0 thru 8, the plus 1 makes it 1 thru 9, not 1 thru 10. Same for the other two cases.
I understood everything that you taught but I have doubt from when you are writting:
Guess=0
CNT=0
What that is for.
Please help in this.
its so the numbers aren't loaded from ram on game startup
Watching this after 12 years fells so good☺
3:58 I wrote print "Too Damn High!" XD :) Nice tutorial BTW
what sign is being used after Rnd ?
I need the battleship game in Qbasic, but it is very difficult for me .. your videos are very good, thanks ..
i dont understand how the cnt works? because I don't see any keywords affecting it that would make it count the times the user tried can anyone help me with this?
+School Freeware DO YOU FREAKING KNOW WHAT DOWNLOAD MEANS!!!!
COPYING AND PASTING DOESENT WORK WITH QBASIC UNLESS ITS FROM QBASIC YOU MORON!!!!
What is a Randomize Timer?
The RANDOMIZE TIMER command randomizes the numbers of the selected integer or something. I'm just assuming that...
Go to his previous tutorial. He explains it better there.
randomize timer generates random numbers based on time
@SchoolFreeware, You deserve more subs
@beainiekidfan Yeah, that's another way to do it. A slight drawback to that is the resulting "screen flicker" (press and hold a "wrong" key to see what I mean)
when I press F5 or start>Run nothing appears plzz help me
Click fn then f5
now its showing c++ compilation failed
I need to learn the graphics part of it : p (not the game, QBasic itself)
Wow i just made the most. Moananes dos game ever
I LIKE THIS VIDEO