The classic answer is a playground game rather than a video game: hot potato, played with a rock instead of a ball. It's free, requires nothing, and is exactly as dangerous as it sounds, so perhaps use a pinecone.
If you meant actual titles, rocks turn up constantly as a mechanic. Mining and crafting games build entire loops around them, puzzle games use boulders you push onto switches, and action-adventure games hide them behind breakable walls. Boulder Dash is the purest example of a game that is essentially about rocks.
Tell me the platform you're on and whether you want something relaxing or frantic, and the list narrows quickly.