If you remember back in November I mentioned a Minecraft server that was written in C. Well now there’s another one that has appeared. Just lIke the other one it uses SDL2 and OpenGL and includes full source code. This one uses clang.
It’s cross-platform for Windows and Mac and there are two different binaries, one for creative mode and one for survival mode.
It’s still a work in progress and needs sound effects and music, saving and loading levels and multiplayer to complete it. If you are learning C and want to see how a game like this is programmed, download the source code from GitHub and start studying it.