QBasic Tutorial 14 - Guess My Number Guessing Game - QB64

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 30

  • @SchoolFreeware
    @SchoolFreeware  13 років тому +1

    @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.

  • @SchoolFreeware
    @SchoolFreeware  13 років тому +1

    @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.

  • @Herbarius
    @Herbarius 13 років тому +1

    @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.

  • @Herbarius
    @Herbarius 13 років тому +1

    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.

  • @wengang1
    @wengang1 Рік тому

    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.

  • @SaraswotiProduction
    @SaraswotiProduction 9 років тому +1

    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.

    • @iXenox
      @iXenox 4 роки тому +1

      its so the numbers aren't loaded from ram on game startup

  • @aashutoshbagale100
    @aashutoshbagale100 2 роки тому

    Watching this after 12 years fells so good☺

  • @MrDirtyFrank
    @MrDirtyFrank 11 років тому +2

    3:58 I wrote print "Too Damn High!" XD :) Nice tutorial BTW

  • @tt27footie52
    @tt27footie52 3 роки тому

    what sign is being used after Rnd ?

  • @Pablo20074783
    @Pablo20074783 12 років тому +1

    I need the battleship game in Qbasic, but it is very difficult for me .. your videos are very good, thanks ..

  • @amorak223
    @amorak223 10 років тому +1

    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?

    • @edwardthepotato8750
      @edwardthepotato8750 9 років тому

      +School Freeware DO YOU FREAKING KNOW WHAT DOWNLOAD MEANS!!!!
      COPYING AND PASTING DOESENT WORK WITH QBASIC UNLESS ITS FROM QBASIC YOU MORON!!!!

  • @rishavbhattarai1390
    @rishavbhattarai1390 7 років тому +1

    What is a Randomize Timer?

    • @NinjaBub504
      @NinjaBub504 7 років тому

      The RANDOMIZE TIMER command randomizes the numbers of the selected integer or something. I'm just assuming that...

    • @emperoraltonia
      @emperoraltonia 6 років тому

      Go to his previous tutorial. He explains it better there.

    • @iXenox
      @iXenox 4 роки тому +1

      randomize timer generates random numbers based on time

  • @aashutoshbagale100
    @aashutoshbagale100 2 роки тому

    @SchoolFreeware, You deserve more subs

  • @Herbarius
    @Herbarius 13 років тому +1

    @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)

  • @pragshah4035
    @pragshah4035 9 років тому +1

    when I press F5 or start>Run nothing appears plzz help me

  • @atulchawda3774
    @atulchawda3774 6 років тому

    now its showing c++ compilation failed

  • @calebbutler100
    @calebbutler100 11 років тому +1

    I need to learn the graphics part of it : p (not the game, QBasic itself)

  • @poofy53
    @poofy53 10 років тому +3

    Wow i just made the most. Moananes dos game ever

  • @Harsharora2001
    @Harsharora2001 13 років тому +1

    I LIKE THIS VIDEO