The Rules of the Gem Games