Hobbies And Interests

How to Make a Game in MS-DOS

In the 21st century, many companies' main purpose is to develop video games that everybody can purchase and play, and it requires training and special programs to help accomplish. However, you can access other means to create your own game. For example, you can make a text-based game on your MS-DOS computer that does not require special programs. Instead, you create this game through a batch file.

Instructions

    • 1

      Press "Start" and type "cmd." Press "Enter" to open the MS-DOS prompt.

    • 2

      Type "edit test.bat" and press "Enter," bringing you to a blue screen where you can type in your game code.

    • 3

      Type in your game code. Depending on the game, the exact code you will type will vary, but each game employs the same important codes: "echo" to print text, "color" to change the text color, "title" to name the program, "goto" to go to a certain block of text, "if %input%" for commands and "set /p input" for labeling.

    • 4

      Press "Alt" and "F" to open the file section of the menu bar. Press "X" to exit, and press "Enter" to save your batch file.

    • 5

      Open MS-DOS again and type "test" to run your game.


https://www.htfbw.com © Hobbies And Interests