https://github.com/forecaster/blocklyoc
https://towerofawesome.org/blocklyoc/
https://github.com/forecaster/blocklyoc
Last synced: 8 months ago
JSON representation
https://towerofawesome.org/blocklyoc/
- Host: GitHub
- URL: https://github.com/forecaster/blocklyoc
- Owner: Forecaster
- Created: 2021-03-06T22:26:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T15:25:55.000Z (about 5 years ago)
- Last Synced: 2025-04-06T20:26:37.287Z (about 1 year ago)
- Language: JavaScript
- Size: 15.6 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlocklyOC
https://towerofawesome.org/blocklyoc/
This web application uses the [Blockly library by Google](https://developers.google.com/blockly/) to provide a block-based programming interface for the Minecraft mod [OpenComputers](https://github.com/MightyPirates/OpenComputers/).
It is mainly intended for programming robots.
BlocklyOC has two modes, the default Beginner Mode contains a set of simplified instruction blocks for movement and interaction with the world. Most of these cover multiple methods within the OpenComputers APIs instead of being a one-to-one mapping.
For example the "Move" instruction can generate a `forward()`, `back()`, `up()`, or `down()` call depending on the direction chosen in the Direction dropdown.
The second mode, Advanced, provides a set of instruction blocks that is a one-to-one mapping of the provided APIs. For example instead of the Move instruction in the Beginner Mode, separate blocks are provided for `Forward`, `Back`, `Up`, and `Down`.