I remember playing a game sorta like that while I was at middle school, I believe the game was called Upgrade man or something like that.