MakeCode source code is in https://github.com/kevinjwalters/makecode-examples/tree/master/microbit/cubebit