<story><title>Show HN: Minecraft clone in 2500 lines of C - even supports multiplayer online</title><url>https://github.com/fogleman/Craft</url></story><parent_chain></parent_chain><comment><author>DanielRibeiro</author><text>Cool. From the same author of Minecraft clone with Python: &lt;a href=&quot;https://github.com/fogleman/Minecraft&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;fogleman&amp;#x2F;Minecraft&lt;/a&gt;&lt;p&gt;The python version uses only 894 lines of code: &lt;a href=&quot;https://github.com/fogleman/Minecraft/blob/master/main.py&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;fogleman&amp;#x2F;Minecraft&amp;#x2F;blob&amp;#x2F;master&amp;#x2F;main.py&lt;/a&gt;</text></comment>
<story><title>Show HN: Minecraft clone in 2500 lines of C - even supports multiplayer online</title><url>https://github.com/fogleman/Craft</url></story><parent_chain></parent_chain><comment><author>ryandrake</author><text>Not to be a party pooper, but there doesn&amp;#x27;t seem to be much in the way of error checking, null pointer checking, etc. e.g. Apparently library calls like calloc() and fopen() never fail. I guess if your goal is &amp;quot;few lines of code&amp;quot; it&amp;#x27;s understandable to leave that stuff out.&lt;p&gt;If your brain has the tendency to automatically go into &amp;quot;code review&amp;quot; mode, I recommend against browsing the source :)</text></comment>