Minecraft: Education Edition can now teach kids how to code with the new Code Builder tool and the 'Agent', an in-game robot. Mojang will add Command Blocks in Education Edition later this year.
Minecraft is filled with little bits of programming for players to mess around with, and things get really wild when you learn how to use command blocks. You can literally make working cars with them ...