You have to learn the rules of the game. And then you have to play better than anyone else.
We've already examined numerous ways for the player to interact with the game environment. One of the easiest methods is to let the physics engine do all the work for determining how the player's avatar collides and moves game objects. Before physics engines, this was probably one of the more difficult and laborious jobs in programming the player mechanics.
Players require feedback from the game in order to determine their status and progress. This could be in the form of a heads-up display (HUD) ...