Google's Blockly Games is a series of educational games that teach programming. It is based on the Blockly library. All code is free and open source.
The games are available at https://blockly.games/
The developer's site is at https://github.com/google/blockly-games/wiki