How Do PC Games Work?

TIME : 2016-01-07
How Do PC Games Work?

At their core, video games are simply computer programs — lists of instructions that tell the processor to perform mathematical calculations. Those calculations generate everything you see and hear, along with the game's logic and AI.

Games can be written in many languages, but C++ is one of the most common for large, high-performance projects. It strikes a balance between the speed of low-level assembly and the faster development of high-level languages, and it supports reusable library files. Libraries like Microsoft's DirectX and the open-source OpenGL simplify multimedia and game programming dramatically.

These days, full game engines take that idea further, bundling all the tools needed to build a particular genre. Engines speed up development but can sometimes produce similar-feeling "cookie cutter" games. Well-known examples include the Unreal Engine, RenderWare, and the Doom Engine, and there are now hundreds of commercial and open-source options.

Development usually follows a methodology with stages such as:

  1. Analysis — defining what the program needs
  2. Feasibility — checking it's possible within constraints
  3. Specification — detailing what must be created
  4. Design — planning how it will work
  5. Coding — writing the actual software
  6. Testing — making sure it's bug-free
  7. Release — launching the finished product
  8. Maintenance — issuing patches and updates

If you want to become a games programmer, start by learning a language, whether through a college course or an open-source project. Many established studios expect at least a bachelor's degree in computer science or math for trainee roles, though artists and musicians have other routes in. A common way to break in is to start as a software tester and work your way up.