Eugene Loza implemented basic Minecraft mechanics as a Castle Game Engine demo! You can build with right-click or dig with left-click. The complete (clean and simple) source code is available on
https://gitlab.com/EugeneLoza/CastleCraft . See the movie:
<div class='attachments'><div class='attachment article'>