''Minecraft'' Fan Finds an Opportunity to Program BASIC Code In-game


You might have seen Minecraft used to teach programming, or mods that allow in-game programming but writing BASIC code inside Minecraft? PRESTA LIVE This is a rare feat. SethBling created a BASIC interpreter to allow you to compile and execute simple programs and scripts within Mojang’s world-building game. It''s easy to use a variety of blocks of commands however, it''s effective. You can not only print text, but have in-game robots ("turtles") do tasks. Do you require digging a long tunnel for your project? Just start the digging script and let the bot take care of all the hard work.



It''s not a big deal to say that you will not be writing elaborate software in a world that was never meant for it. Minecraft''s 20Hz operation speed makes code slow. You can only perform 20 commands per second and it gets slower the more you use it. It''s not necessary to invest weeks creating the interpreter -it''s already in place. SethBling has already published the necessary materials, so it''s just matter of installing the addon and practicing your IF/THEN statement.