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 54069 times)

0 Members and 1 Guest are viewing this topic.

macdad-



    Expert

    Thanked: 40
    Re: i want make a simple game in dos
    « Reply #30 on: March 01, 2008, 01:12:28 PM »
    o whoops...
    but anyways thanks.
    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 #31 on: March 09, 2008, 01:33:29 PM »
    hey, can anybody explain this to me? I need to make random numbers between 1 and 5, would this code work, or do i need more?

    Quote
    set /a DICE2=%random% %%6 + 1 >nul

    gamerx365



      Adviser
    • Radda Radda!
    • Thanked: 1
      • Yes
      • Yes
    • Experience: Experienced
    • OS: Windows 10
    Re: i want make a simple game in dos
    « Reply #32 on: March 09, 2008, 02:05:18 PM »
    and also im wondering about the things fareast187 used - thsee º. In DOS it makes a vertical double line. are there more of these characters I could use for corners and horizontal lines too?

    itburnswhenipee



      Beginner

      Thanked: 1
      Re: i want make a simple game in dos
      « Reply #33 on: March 09, 2008, 04:11:54 PM »
      È = a bottom left corner
      Ì = one line with two half lines
      æ = a y thing
      ß = a rectangle
      Ø = an = with ligns coming out of the top and bottom
      Æ = a lign with to parts sticking out
      » = a top right corner
      ¶ = double ligns
      ¡ = an i with a hat
      these are some of the draw functions. i found them here
      http://nostalgia.wikipedia.org/wiki/Wiki_special_characters

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #34 on: March 09, 2008, 05:06:30 PM »
      thanx i used some of yours but I dont want to go down the whole list in that page to find them so is there anyway I can just use these? http://en.wikipedia.org/wiki/Box_drawing_characters

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #35 on: March 09, 2008, 05:54:20 PM »
      well nvm i got most of what i got except BC, I can't find what to use to get BC/188/255D. I need the bottom right corner... anyone know?

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #36 on: March 11, 2008, 07:27:33 AM »
      haha im going crazy with these batch games... I'm almost done with eternal death slayer - An RPG where you just build up your skills, and I have started a new one called Alpha and Omega - A strategy game where what you build decides your future. You basically play as god. Anyway, I'll post links here as soon as I can upload...

      macdad-



        Expert

        Thanked: 40
        Re: i want make a simple game in dos
        « Reply #37 on: March 11, 2008, 04:45:48 PM »
        im gettin bttr at batch games my recent one(and first one) is a card game, its like that magic card trick but Windows is definetly no Magician. the next one im making is a card game like Texas Hold em. i would say that the only bat games im making are card games. my other bat progs will be utilities and im finishing up a bat prog that is an anti-virus prog.
        If you dont know DOS, you dont know Windows...

        Thats why Bill Gates created the Windows NT Family.

        devcom



          Apprentice

          Thanked: 37
          Re: i want make a simple game in dos
          « Reply #38 on: March 12, 2008, 08:56:19 AM »
          the bat file can be anti-virus ?? i wana see that :P any way here is my simple game that i made. use w,a,s,d to move l to load map
          (del last 4 digits from name of file to run)


          [recovering space - attachment deleted by admin]
          « Last Edit: March 12, 2008, 11:53:17 AM by devcom »
          Download: Choice.exe

          macdad-



            Expert

            Thanked: 40
            Re: i want make a simple game in dos
            « Reply #39 on: March 12, 2008, 04:52:53 PM »
            yea it can be an Anti-Virus prog but i dont want to share the secret until i have finished it. i dont want anyone to be copy-cats out dere. but heres a hint "Find delete".
            If you dont know DOS, you dont know Windows...

            Thats why Bill Gates created the Windows NT Family.

            devcom



              Apprentice

              Thanked: 37
              Re: i want make a simple game in dos
              « Reply #40 on: March 13, 2008, 02:39:26 AM »
              I can be beta tester :P but it will be only in one file? or it will instal?
              Download: Choice.exe

              Fareast187

                Topic Starter


                Rookie

                Re: i want make a simple game in dos
                « Reply #41 on: March 13, 2008, 05:34:43 AM »
                to gamerx365

                and also im wondering about the things fareast187 used - thsee º. In DOS it makes a vertical double line. are there more of these characters I could use for corners and horizontal lines too?

                that is a special Characters

                open notepad, on the notepad...

                hold down the key Alt then type the number like 147 then it will came Characters like this..."ô"

                right now i found a new idea...

                i want to make a hangman game...

                like this :-
                THIS GAME IS NOT FINISH YET.....I WILL FINISH THIS GAME LATER...AND POST AT HERE

                echo off
                cls
                :a
                Echo Name Of Animal...??
                echo _ _ _ _

                set /p Choice=Put Your Letter:
                if [%Choice%]==[C] goto correct
                if [%Choice%]==[A] goto correct2
                if [%Choice%]==[T] goto correct3

                For %%a in (C,A,T) do if not [%Choice%]==[%%a] goto lose

                :lose
                echo you're lose...hahahahahaha...


                :correct
                cls
                Echo Name Of Animal...??
                echo %Choice% _ _ _
                goto exit


                :correct2
                cls
                Echo Name Of Animal...??
                echo _ %Choice% _ _
                goto exit


                :correct3
                cls
                Echo Name Of Animal...??
                echo _ _ %Choice% _
                goto exit

                :exit
                goto a

                pause






                macdad-



                  Expert

                  Thanked: 40
                  Re: i want make a simple game in dos
                  « Reply #42 on: March 13, 2008, 02:00:36 PM »
                  ah that is a good idea for a hangman game, but proggramming in so many random words or phrases word be difficult. but that is a great idea Fareast! 8)
                  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 #43 on: March 13, 2008, 03:41:21 PM »
                  Devcom:

                  i cant run yours because I'm on my PSP but it looks complex. I might try it tomorow at school.

                  But anyway, if anyone wants to test Eternal Death Slayer and I will probably upload tomorrow also.

                  devcom



                    Apprentice

                    Thanked: 37
                    Re: i want make a simple game in dos
                    « Reply #44 on: March 14, 2008, 01:16:18 AM »
                    i have noticed that my game works only on vista coz XP dont chave choice option...
                    Download: Choice.exe