blockpy-edu / blockpy

Blockly that's more Python than JavaScript, powered with Skulpt
Apache License 2.0
391 stars 130 forks source link

Generate python code as image in instructions #98

Open acbart opened 3 years ago

acbart commented 3 years ago

If we have a way of creating Python code as an image in instructions, then we could make blockpy problems where users have to retype code exactly (practicing syntax). The basic mechanism would be to generate the instructions dynamically based on a code block, and then confirming that the student's program matches that code exactly.