Team 12's project for the Group Design Practicals;
G-Research Group Project Prize for 2021 for a well-designed educational tool they created and a clear presentation and demonstration on how this tool can be used for learning purposes
- Online: https://microbit-team-12.github.io/editor/
- Locally (requires
git
and a Node package manager):git clone https://github.com/Microbit-Team-12/editor.git cd editor/ yarn install yarn start
The demo includes 4 tutorials:
- Python Language Features
- Python Errors
- Displaying Images on micro:bit
- Playing sounds on micro:bit
To add a new tutorial, first you need to write it in markdown. The current renderer supports the basic syntax but not HTML, and it has additional support for python code blocks. For example,
~~~py
# LINES 2-5
explanation = """The optional meta-comment above tells the renderer which lines of code to highlight. 2
The lines outside this range, both ends inclusive and counting from 1, will not be shown by default. 3
This feature can be used to hide the importations or unimportant implementation details from the students. 4
In this code block, precisely the lines declaring this multi-string will be highlighted. 5"""
print(explanation)
print("Did you know you could use ~~~ instead of ```")?
~~~
Finally, you need to
- Move the markdown file to
public/tutorials
- Append the information about the tutorial to the list in
src/resources/tutorial_list.ts
so that the application actually includes the tutorial you wrote.
- Code documentation:
docs/
-- possibly usepython3 -m http.server
- Project documentation for the customer: Customer Documentation.pdf
- Script for manual behavioural testing: Testing Table.pdf