Show HN: Teachcraft – Learn Python through Minecraft
Looks like a great guide to get started with coding with Minecraft. There have been some efforts over the years, but this looks really complete. One obstacle for schools to get started with this however, is buying all the Minecraft licenses.<p>To this end, I&#x27;ve been toying around a bit with an open source Minecraft clone called Minetest lately [1][2]. It&#x27;s surprisingly complete, and could also have great uses in (programming) education.<p>It has a C++ core based on the Irrlicht 3D engine, but many of the game mechanics are implemented in Lua. Modifications like the examples in Teachcraft can also be built in Lua. For example, this [3] is a mod to spread flowers and mushrooms around the map.<p>The Lua language isn&#x27;t used much currently in the education environment, which is mostly focused around Scratch, Python and sometimes Javascript. Then again, seeing different languages and noticing their similarities can be educational in itself.<p>Finally, I&#x27;ve been wondering how hard it would be to port something like Minetest to Emscripten. Irrlicht seems to be compatible already [4]. The non-JIT version of Lua is compatible as well [5]. Obstacles in Minetest that I can identify would be the heavy use of the filesystem, the use of UDP sockets and memory sharing between threads.<p>Would anyone know more about how hard porting something like this would be?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;minetest" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;minetest</a><p>[2] <a href="http:&#x2F;&#x2F;www.minetest.net" rel="nofollow">http:&#x2F;&#x2F;www.minetest.net</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;minetest&#x2F;minetest_game&#x2F;blob&#x2F;master&#x2F;mods&#x2F;flowers&#x2F;init.lua" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;minetest&#x2F;minetest_game&#x2F;blob&#x2F;master&#x2F;mods&#x2F;f...</a><p>[4] <a href="http:&#x2F;&#x2F;irrlicht.sourceforge.net&#x2F;forum&#x2F;viewtopic.php?f=2&amp;t=51809&amp;start=15" rel="nofollow">http:&#x2F;&#x2F;irrlicht.sourceforge.net&#x2F;forum&#x2F;viewtopic.php?f=2&amp;t=51...</a><p>[5] <a href="https:&#x2F;&#x2F;github.com&#x2F;vvanders&#x2F;wasm_lua" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vvanders&#x2F;wasm_lua</a>