Logic

Logic: The rules that a computer program follows. Example: In a game, the logic might be that if you hit a wall, you lose a life.