Skip to content

softyde/brickbreaker-code

 
 

Repository files navigation

brickbreaker-code

A web app for programming LEGO® Powered Up Smart Hubs with Pybricks MicroPython for use in a German elementary school and support of Blockly elements.

Primary goal

Das Ziel ist, das Tool inkl. Unterstützung für Blockly-Entwicklung und vollständig auf Deutsch zur Verfügung zu stellen.

Die Blöcke sollen dabei (nach heutiger Idee) nicht (nur) 1:1 die pybricks Python-Bibliothek abbilden, sondern für Grundschülerinnen und -schüler vereinfachte Programmiermöglichkeiten bieten.

Zielsystem ist primär LEGO® Education SPIKE™ Prime.


Try it at https://alpha.brickbreaker.de.

This is an alpha. And nothing will work.
If it does: don't use it for anything serious.


Next steps / wip

This is still a prototype and a long way from being put to good use.

  • save/load blockly data
  • handle multiple editors
  • generate py code from blockly
  • create source map for generated py code (dev progress: https://youtu.be/bWZQiGOCs4I)
  • source map works both ways: block <> code
  • develop some useful blocks
  • run it on a real spike prime device (dev progress https://youtu.be/rxz_a8NYH68)
  • develop some even more useful blocks (vars, parameters, etc.)
  • cleanup code
  • fix broken tests
  • peace & love
preview.mp4

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

For more details, see the file CONTRIBUTING.md.


LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.

Screenshot (more or less up to date)

screenshot

About

Web IDE for Pybricks with Blockly support

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 88.9%
  • JavaScript 8.6%
  • SCSS 2.2%
  • Other 0.3%