The goal of these games is slightly different from the gameplay itself. For example, while reaching the end of a stage (in platform games), defeating the boss, advancing your characters' progress through the story (RPGs) or sinking the ball into a hole (golf) may be the "purpose" of playing a game, the "fun" is derived primarily by the means and the process in which such a goal is achieved. Basic gameplay defines what a game is, to the player, while game mechanics determine the parts of which the entire game consists.