How do I earn gems in CodeCombat? November 04, 2021 20:00 Updated Gems are rewarded to players upon completing a level or unlocking an achievement. Players who subscribe to CodeCombat Premium will receive a bonus allotment of gems. Related articles How do I unlock more heroes and pets? What is CodeCombat Premium? How do I change the programming language in CodeCombat? Does CodeCombat have microtransactions or any in-game purchases? What's the price of CodeCombat Premium?