Q&A for How to Build a Simple Computer Game Using Batch Script

Return to Full Article

Search
Add New Question
  • Question
    Is it possible to add sound to the game, and can this be done on DosBox?
    Community Answer
    Yes, you can do this on DosBox. It is basically like the command prompt, but just a different program.
  • Question
    Why won't my command prompt work? When I open it, it closes straight away.
    Community Answer
    The command prompt is most likely blocked by the administrator if you are coding from a work or school computer.
  • Question
    How do I open the code for my batch file?
    Community Answer
    Open Notepad. Write the code into the window and save it. You can open the file later by right-clicking the file and opening it with Notepad. Make sure you don't make Notepad the default program, though, or else double-clicking the script will open it in Notepad instead of running it.
  • Question
    When I run my bat file, it turns into something else. Why is that?
    Community Answer
    Make sure that when you save your Notepad file: 1.) You name the file "filenamehere.bat" 2.) You select all data types (.*) and NOT .txt.
  • Question
    What steps are taken to edit the text contained inside of a .txt file?
    Community Answer
    Open the txt file and edit the text. Save the new text file, and when you launch the game again, you will get your modified text.
Ask a Question

      Return to Full Article