experiencePoints
Experience points, often abbreviated XP, are a numerical measure of a player's progression in a game or gamified system. They are earned by performing actions such as defeating opponents, completing quests, discovering areas, or crafting items, and they are typically spent to raise a character's level or unlock new abilities, equipment, or content.
In most games, XP accrues until a threshold is reached, at which point the player levels up.
XP can be awarded in various ways: combat XP, quest XP, exploration XP, crafting XP, or social
Technical aspects: in code XP is often stored as a numeric field named experiencePoints, experience_points, or
Other uses: XP concepts are widely used in gamification and education to motivate learners, with points earned
XP systems are a central, versatile tool in game design, balancing reward, challenge, and motivation.