Click each square to dig. Each square has 4 layers before reaching the bottom. Each time to find the artifact you score increases. Click Z to open store. Click X to close it.
All coding was done myself.