What is Blockly?

Within Super Code Strike you can customize the behaviour of Robots and other building elements using block-based code. You might recognize the code as being similar to whats used in Scratch. Thats because Scratch is a platform that also uses Blockly, a drag-and-drop editor to generate code.

Developed by Google, Blockly is an open source visual programming editor written in JavaScript. Open source means that Blockly is freely available for public use and may be redistributed and modified. The Blockly editor uses interlocking blocks to represent code concepts like statements, variables or logical expressions. Allowing users to apply programming principles without having to worry about complex syntax, makes it a great starting point for anyone interested in learning how to code without prior experience.

Everyone should know how to program a computer, because it teaches you how to think! - Steve Jobs

Internally, Super Code Strike uses Lua to customize the behaviour of items in the game - and uses Blocky to translate block-based code that users create to Lua code that the game can interpret. Since Blockly is usually formatted for the web, we've made several customizations to optimize Blockly for mobile, and embed into Super Code Strike. We have also tailored the output to align with in-game actions.

You might not think that programmers are artists, but programming is an extremely creative profession. It's logic based creativity. - John Romero

There are many reasons people benefit from learning to code some of which include the development of logical and creative problem solving and computational thinking skills, as well as providing an introduction to the way technology and computers work. By introducing computer coding through a visual coding program like Blockly, the learner is able to focus on the logic of programming (action and reaction) without getting bogged down by the formatting specifications that come with more complex text-based languages.



Additional Resources:

https://opensource.google/projects/blockly


5 views0 comments

Recent Posts

See All