Unfortunately, for the last two topics, we only have time to give them an honorable mention. I included them because you are going to hear about these topics, and you need to know what these terms mean.
Game physics are the rules that define how objects interact with other objects inside the game universe. For example, in SpaceRacer3D, the ship simply passes through the asteroids. However, there could be many other outcomes:
Each of these effects would be programmed into the game. Each of these effects would also create a different kind of gameplay. An entire genre of games known as physics-based games simply define the laws of physics for a game universe and then let things interact to see what will happen.
AI, or artificial intelligence, is another set of rules that defines how characters or objects that are controlled by the compute behave. AI is typically applied to enemies and other Non-player Characters (NPCs) to give them a life-like appearance in the game. Some examples of AI include:
AI is typically considered one of the most difficult areas of game programming. Some algorithms are quite easy (for example, the homing missile only needs the ships position to know how to track it), while others are very complex (for example, hiding behind a rock). Some games even provide an AI opponent for you to play against.
13.59.69.53