{"repo":"sashakoshka/m4kc","free":true,"listed":false,"github":"https://github.com/sashakoshka/m4kc","clone":"git clone https://github.com/sashakoshka/m4kc.git","description":"Minecraft 4k: decompiled, translated to C using SDL for graphics and input, and improved upon","language":"C","stars":91,"topics":["game","minecraft-4k","minecraft","voxel","procedural-generation","terrain"],"license":null,"category":"game-templates","readme_excerpt":"M4KC Minecraft 4K - C Rewrite For those who don't know, Minecraft 4K was a stripped down version of Minecraft submitted by Notch to the Java 4K Game Programming Contest, where each submission had to be under 4 kilobytes in size. Its wiki page can be found here. Being so small, the game proved somewhat easy to de-compile and edit. Multiple people have given this a go, including me. This project is an attempt to translate the game into C in order to increase its performance, and to provide a platform upon which to add new features. Some goals for this project Maintaining the original look and feel as closely as possible. ✅️ Keeping the final executable under 20 KB (on Linux, with the system I have set up in build.sh ) ✅️ More blocks 🏗️ Perlin noise terrain generation ✅️ Water ✅️ Biomes 🏗️ Caves ✅️ Infinite worlds, horizontally and vertically too 🏗️ Mobs and multiplayer (this would require changing the rendering engine to some degree) 🏗️ Day/night ✅️ ✅️ - got that! 🏗️ - not yet... Dependencies Bare minimum to make this code run SDL2 A C compiler, such as gcc or clang To get it down to a small size, you need gzexe On windows, you will need MSYS2 installed mingw-w64-x86 64-gcc installed through MSYS2 Build instructions Visit the wiki for more detailed build instructions. Linux, unix, etc To just get a binary, run ./build.sh small or ./build.sh all small To run an uncompressed version, run ./build.sh or ./build.sh all To install the program, run ./build.sh install To uninstall","default_branch":null,"files":null,"tree":[],"storefront":"/r/sashakoshka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sashakoshka/m4kc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}