We built automation to play Minesweeper at one of my former employers back in the day.
We're a long way from those days, but check out what we've done w/ CloudTest with TouchTest for Mobile. You can too (very very soon!)
CloudTest Plays Skeleton HD
CloudTest Plays Climbers
** I work for SOASTA, the CloudTest Company **