Experience points are gained through exploration. Most actions give experience points. Some of which include but are not limited to:
Movement across the map,
Discovering things or new places,
Dice rolls, (clicks) // make checks very hard //
Solving puzzles or riddles,
Rummaging through things,
Passing checks (perfect checks reward extra experience)
Passage through certain doors is restricted by how many experience points the player has.