How video games are coded?
The majority of games are written in the C programming language. A 3-D code engine is almost always used to create the incredibly complex code necessary for all of the polygons, shadows and textures the user sees on the screen. The artificial intelligence component is part of the code.