eHow launches Android app: Get the best of eHow on the go.

How To

How to Write Your Own Game Program

Member
By sunnylyon
User-Submitted Article
(1 Ratings)
Write Your Own Game Program
Write Your Own Game Program

If you want to write your own game program for fun, that's fine, but if your motive is to become a professional game designer or programmer, then you have to be serious. To write your own game program takes time and dedication. This guide will not give you all the details of game programming, but rather give you a head start to write your own game program.

Difficulty: Moderately Challenging
Instructions

Things You'll Need:

  • Computer
  • Programming Books
  • Compiler
  1. Step 1

    Decide what kind of game you want to make. Consider the kind of genre of games you like (adventure, role-playing, first person shooter game, etc.). Keep the design simple. When you first write your own game program, think tetris and space invader, not like some popular role-playing games with a 100 characters, 3D graphics, and amazing sound effects.

  2. Step 2

    Look in the resources section to find programs to write your own game program. You're now done, if all you wanted to do is make a game and skip all the programming. However, if you are serious about becoming a game programmer or want to actually write your own game program, then skip this step.

  3. Step 3

    Decide a language. I recommend C or C++, since the majority of games are programmed in that language. Also, there's numerous resources for those languages. You can pick either C or C++, since once your learn one, it's easy to learn the other.

  4. Step 4

    Get a compiler. You can write your code in notepad, but you need a compiler to write your own game program because a compiler translates the code so your computer can understand and execute the program. You can look in the resources section to find a list of free compilers for C and C++.

  5. Step 5

    Learn the language. The best way to do this is take a class, but if you can't afford it, then either buy books or go to the library to find books on programming. You can also use online sources to write your own game program, but you really should buy a book.

  6. Step 6

    After you have a basic knowledge of whatever computer language you picked, you can now start to write your own game program. Tetris is the best things to start with because it includes all the components that you need to learn to make write your own game program. It's also easy enough to learn, but hard to enough to challenge you. You have now made your first game program!

Tips & Warnings
  • Check out game programming forums for help. There are experts on there who could help you.
  • Playing games is very different from writing your own game program. A lot of people who start to write a game program quit. If programming really frustrates you, then game programming just might not be for you.

Comments  

snowbite said

Flag This Comment

on 7/14/2009 Very interesting. I've always wanted to write my own computer game, but unfortunately I don't know any program language well enough to do it.

aguy said

Flag This Comment

on 7/5/2009 Interesting article!

Your list of programs to help you write games was an especially valuable resource.

Thanks.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics