How to Make Games in a Computer Notepad

Written by tiesha whatley
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Make Games in a Computer Notepad
Video games are usually made with programming code, graphics and sound put together. (Video Game Gear image by Alhazm Salemi from

You can create a computer game in just about any programming language. Game programmers and developers use special computer software to write the programming code to create the game how they want it. The software also compiles the programming code into a language that will be understood by the system (Windows, Mac, online or gaming consoles) the game is created for. Instead of shelling out the expense of buying the special software, you can write the programming code for a video game in the Notepad text-editing program available on Windows computers.

Skill level:


  1. 1

    Click on the "Start" button in Windows. Then click on "All Programs," "Accessories" and "Notepad" to open the Notepad application.

  2. 2

    Type in the code for your video game using the programming language of your choice. Press the "Enter" key to separate lines of code and use the "Tab" key to indent code in the middle procedures and functions to keep the code neat and easier to read. Also, leave comments in the code that might help with later troubleshooting. Format the code in a way that makes it easier for you to read when going back through it using the common programming rules. Notepad doesn't have all the bells and whistles like other word processing applications, so it won't word wrap or spell check on its own.

  3. 3

    Click on "File" and then "Save" to save the file. Save the code in the correct file format. For instance, use the CPP file extension if the code uses the C++ programming language or JAVA for the Java programming language. Type in the name of the file with the correct extension encased in quotation marks ("example.cpp") in the "File name:" box. Click on "Save."

Tips and warnings

  • You still need a compiler to turn the code into the video game. The compiler is responsible for checking the code for syntax and logical errors, converting the code and compiling the code, graphics, sound and other associated files into a single file that can be executed on a computer, online or on a gaming console. Use a compiler that is compatible with the programming language that you used. Save the Notepad file in the same directory as the accompanying files for the video game, such as graphics and sounds, to make it easier to compile the game.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.