
上QQ阅读APP看书,第一时间看更新
1.2 Blockly编程环境
Blockly有在线版和离线版两个版本,在浏览器的地址栏输入https://developers.google.cn/blockly/,访问Blockly官网,即可体验Blockly在线编程,如图1-2所示。

图1-2 Blockly在线版
离线版的Blockly无须安装,只需要在解压文件后,进入Demos并打开index.html文件,选择相应的选项即可体验。在Linux系统中,可下载TAR Ball,在终端解压文件即可;在Windows系统中,则下载ZIP File并解压即可。下载地址如下:
Github Blockly地址:https://github.com/google/blockly。
TAR Ball地址:https://github.com/google/blockly/tarball/master。
ZIP File地址:https://github.com/google/blockly/zipball/master。
如图1-3所示即为Blockly离线版Demos。

图1-3 Blockly离线版Demos