Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: i want make a simple game in dos  (Read 59824 times)

0 Members and 1 Guest are viewing this topic.

macdad-



    Expert

    Thanked: 40
    Re: i want make a simple game in dos
    « Reply #60 on: March 29, 2008, 08:36:00 AM »
    well wat do u guys thnk?
    great huh? ;D
    If you dont know DOS, you dont know Windows...

    Thats why Bill Gates created the Windows NT Family.

    Tan_Za



      Intermediate
    • Starcraft and C programming
      • Experience: Experienced
      • OS: Windows 7
      Re: i want make a simple game in dos
      « Reply #61 on: March 29, 2008, 10:47:43 PM »
      A simple but very good. I like it, it is very cleaver and pretty well thought of

      Nice,
      Tan_Za

      devcom



        Apprentice

        Thanked: 37
        Re: i want make a simple game in dos
        « Reply #62 on: March 30, 2008, 06:34:02 AM »
        here are my 2 games. one is maded for my friend where you must select glass where is a ball, second is move but i added a enemy. tell my what you think

        PS.to use MOVE on XP download choice.exe
        http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html

        [recovering space - attachment deleted by admin]
        Download: Choice.exe

        devcom



          Apprentice

          Thanked: 37
          Re: i want make a simple game in dos
          « Reply #63 on: March 30, 2008, 06:49:38 AM »
          @macdad-

          you shoudl add a goto commands after all card
          like here:
          Code: [Select]
          :cardo
          cls
          set /p one=Is card 1, your card?[1=Yes/2=No]
          if '%one%'=='1' goto comp
          if '%one%'=='2' goto user
          if '%one%'=='' goto cardo
          goto cardo

          :cardt
          cls
          set /p two=Is card 2, your card?[1=Yes/2=No]
          if '%two%'=='1' goto comp
          if '%two%'=='2' goto user
          if '%two%'=='' goto cardt
          goto cardt

          :cardh
          cls
          set /p thr=Is card 3, your card?[1=Yes/2=No]
          if '%thr%'=='1' goto comp
          if '%thr%'=='2' goto user
          if '%thr%'=='' goto cardh
          goto cardh
          becouse if you input for ex. 5 in cardo it will go to cardt

          and here
          Code: [Select]
          if '%playagain%'=='Y' goto start
          if '%playagain%'=='N' exit
          if '%playagain%'=='y' goto start
          if '%playagain%'=='n' exit
          you can use /I switch
          Code: [Select]
          if /I '%playagain%'=='y' goto start
          if /I '%playagain%'=='n' exit
          Download: Choice.exe

          macdad-



            Expert

            Thanked: 40
            Re: i want make a simple game in dos
            « Reply #64 on: March 30, 2008, 02:38:57 PM »
            Tanza thnx, i think that my BAT games should just be card games, im thinkin the nxt one i make should be a Texas Hold em game.

            and devcom ty for ur tips. but heres the thing about the goto card deal, i originally had it to it would say goto cardone but when i got to the goto cardtwo and goto cardthree dos would get screwed up and goto the opposite label. but thnx again for the tip on the IF command.
            If you dont know DOS, you dont know Windows...

            Thats why Bill Gates created the Windows NT Family.

            macdad-



              Expert

              Thanked: 40
              Re: i want make a simple game in dos
              « Reply #65 on: March 30, 2008, 02:51:04 PM »
              devcom, on ur glass game the computer always chooses #3 i think u may have a bug try this:

              Old code:
              Code: [Select]
              @echo off
              set score=0
              set cscore=0
              :RANDOM
              set /a glass=%random%%%3
              if %glass% equ 0 goto RANDOM
              :SHOW
              cls
              echo. Your Score = %score%                                                   %cscore% = Computer
              echo.
              echo.                  1                   2                   3
              echo.               #######             #######             #######
              echo.             #         #         #         #         #         #
              echo.             #         #         #         #         #         #
              echo.            #           #       #           #       #           #
              echo.            #           #       #           #       #           #
              echo.           #             #     #             #     #             #
              echo.           #             #     #             #     #             #
              echo.          #               #   #               #   #               #
              echo.          #               #   #               #   #               #
              echo.         #                 # #                 # #                 #
              echo.         #_________________# #_________________# #_________________#
              set /p in=
              if %in% equ %glass% (goto WIN) else (set /a cscore+=1)
              goto SHOW
              :WIN
              echo.
              echo.                                   You WIN
              pause >nul
              set /a score+=1
              goto RANDOM

              New Code:
              Code: [Select]
              @echo off
              set score=0
              set cscore=0
              :RANDOM
              set /a glass=%random% %%3 + 1 >nul
              if %glass% equ 0 goto RANDOM
              :SHOW
              cls
              echo. Your Score = %score%                                                   %cscore% = Computer
              echo.
              echo.                  1                   2                   3
              echo.               #######             #######             #######
              echo.             #         #         #         #         #         #
              echo.             #         #         #         #         #         #
              echo.            #           #       #           #       #           #
              echo.            #           #       #           #       #           #
              echo.           #             #     #             #     #             #
              echo.           #             #     #             #     #             #
              echo.          #               #   #               #   #               #
              echo.          #               #   #               #   #               #
              echo.         #                 # #                 # #                 #
              echo.         #_________________# #_________________# #_________________#
              set /p in=
              if %in% equ %glass% (goto WIN) else (set /a cscore+=1)
              goto SHOW
              :WIN
              echo.
              echo.                                   You WIN
              pause >nul
              set /a score+=1
              goto RANDOM

              i threw in the random # generator code from my DOS Cards game, the new code i put in, sets a limit on the lowest number it can choose and the highest number it can choose."set /a glass=%random% %%3 + 1 >nul"

              aparently this made the game a whole lot tougher since the computer won like 60% of the time i played it after i made the change in the code.

              and devcom how do u code(or commands) on ur MOVE game?
              If you dont know DOS, you dont know Windows...

              Thats why Bill Gates created the Windows NT Family.

              gamerx365



                Adviser
              • Radda Radda!
              • Thanked: 1
                • Yes
                • Yes
              • Experience: Experienced
              • OS: Windows 10
              Re: i want make a simple game in dos
              « Reply #66 on: March 30, 2008, 06:53:32 PM »
              well i guess i should ask... wat do you guys think about my EDS game? what should I change? in version 2 i added 3 more forrests, fixed the bug with skill distribution, relimeted skill to 700,and made a 1/12 chance of a random monster under 30 attacking. oh, and a couple more hidden commands.

              devcom



                Apprentice

                Thanked: 37
                Re: i want make a simple game in dos
                « Reply #67 on: March 31, 2008, 08:54:19 AM »
                hmm its working on my computer but thanks for info

                @gamer your game is cool but you know if it must be a big RPG you must add more rooms mabey quests etc.
                Anyway idea is cool for me
                Download: Choice.exe

                gamerx365



                  Adviser
                • Radda Radda!
                • Thanked: 1
                  • Yes
                  • Yes
                • Experience: Experienced
                • OS: Windows 10
                Re: i want make a simple game in dos
                « Reply #68 on: March 31, 2008, 01:00:00 PM »
                quests.... i suppose i could make a quest or two for the next release. also I am going to re-do the update system. thanks.

                macdad-



                  Expert

                  Thanked: 40
                  Re: i want make a simple game in dos
                  « Reply #69 on: March 31, 2008, 02:18:55 PM »
                  yes u could try to make a batch version of runescape.
                   ;) lol
                  If you dont know DOS, you dont know Windows...

                  Thats why Bill Gates created the Windows NT Family.

                  gamerx365



                    Adviser
                  • Radda Radda!
                  • Thanked: 1
                    • Yes
                    • Yes
                  • Experience: Experienced
                  • OS: Windows 10
                  Re: i want make a simple game in dos
                  « Reply #70 on: April 01, 2008, 06:04:16 AM »
                  haha, id estimate around 5-9 MB lol

                  Well here is version 2. it is pretty good i guess. I put all the fixes in the readme file.

                  [recovering space - attachment deleted by admin]

                  devcom



                    Apprentice

                    Thanked: 37
                    Re: i want make a simple game in dos
                    « Reply #71 on: April 01, 2008, 07:50:11 AM »
                    cool, idk about mode command. Imo you must add some animations/pictures ;) i will try to combine my move game and yours so you will can move in it
                    Download: Choice.exe

                    gamerx365



                      Adviser
                    • Radda Radda!
                    • Thanked: 1
                      • Yes
                      • Yes
                    • Experience: Experienced
                    • OS: Windows 10
                    Re: i want make a simple game in dos
                    « Reply #72 on: April 01, 2008, 08:36:10 AM »
                    does your MOVE work on XP? Also I don't think it works on ME because it kinda automatically plays itself and stuff lol. Well I use ME for a lot of my coding because that is what we have a t school, so I wouldn't be able to use anything like yours or whatever. I feel like I need to make more quests though lol.

                    devcom



                      Apprentice

                      Thanked: 37
                      Re: i want make a simple game in dos
                      « Reply #73 on: April 01, 2008, 08:55:35 AM »
                      i dunno that the ME have choice.exe if yes use [wasd] to move if no you must download it. i posted link before
                      Download: Choice.exe

                      gamerx365



                        Adviser
                      • Radda Radda!
                      • Thanked: 1
                        • Yes
                        • Yes
                      • Experience: Experienced
                      • OS: Windows 10
                      Re: i want make a simple game in dos
                      « Reply #74 on: April 01, 2008, 09:26:08 AM »
                      yeah that link is blocked here but i dont know, I'm thinking of adding some quests and a title screen. I don't know what else to add though. You don't think there are any bugs that I need to fix?