@webwriter/block-based-code
Version:
Write block-based code (e.g. Scratch) and run it.
29 lines (22 loc) • 1.31 kB
Markdown
The blocks Widget brings block based programming to [WebWriter](https://webwriter.app).
The widget is based on the [Blockly](https://developers.google.com/blockly) library and is heavily inspired by the [Scratch](https://scratch.mit.edu/) project.
Currently, the only available stage type is a simple canvas, but more stages can be added in the future.
The stage is controlled by the blocks that are placed in the editor.
[<img alt="Built with Blockly" src="https://developers.google.com/static/blockly/images/logos/built-with-blockly-badge-white.png" height="48">](https://g.co/dev/blockly)
[<img alt="Built with PixiJS" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.png" height="48">](https://pixijs.com)
This Widget needs to be installed through WebWriter.
It should be available in the widget list.
The widget offers an example exercise.
Apart from that, the widget should be self-explanatory.
The development of this widget should be done in WebWriter.
Instead of installing the widget, you can use the development mode of WebWriter to import the Widget from your local drive.
To release a new version of the widget, run the following command:
```bash
npm run release
```