Minetest is an open-source game / game engine. It kinda resembles Minecraft.

Network protocol

Hacks

References