It is true that the game is mostly oriented around combat and health points.
However, there are some levels that don’t require any fighting. A few types that spring to mind are the flower-grove levels, some coin-collecting levels, ice soccer, etc. Basically when not fighting, they are just walking around. Some levels require a builder’s hammer equipped instead of a weapon but the building is still usually for combat or survival purposes.
Having more levels that are not oriented around combat would be good for diversity though. There’s a limited amount that you can learn from hitting ogres and it would be useful if CodeCombat covered more types of problems. An alternate campaign or at least alternate levels covering different areas would be great.