The moonterrain_game gamemode for the Minetest game engine: http://github.com/minetest/minetest