Click on the rocks/stuff. Damage is the your power minus rock's durability. When a rock loses all its health from damage, you get profit to upgrade your pickaxe to break rocks faster. The save system is not complete.
This game is based off of Idle Mine, a game from kongregate.com