How would I go about making a mining game?

Can you offer more details? Like what kind of mini games, how will the player trigger it, how will the main game run?