Press the Space to activate/deactivate your harvesting robot. Click the "Upgrades" button to display upgrade options. To buy the upgrade, click the grey button with the name of the attribute being raised. Watch for passing meteors and deactivate the harvester if it's in the path of one of those death rocks. Cheat: Press 1 for 1,000 Minerals
Partially inspired by Starcraft, as Minerals are a resource on that game. If there's interest in this, I'll make another, better version. Better graphics, less convoluted code, etc. Please, let me know what you think in the comments. Thanks for checking this out. :)