Code Puzzle: "Parsons puzzles" generator and manager
codepuzzle.io
codepuzzle.io
Last year when I was teaching UC Berkeley CS61A, we tried out a variant called Faded Parsons Puzzles, where the draggable code lines also have blanks and get verified via Python doctests. I made a browser-based runner for that style, for anyone who wants to easily create new Faded Parsons Puzzles.
See demo here: https://pamelafox.github.io/faded-parsons-static/index.html More background here: http://blog.pamelafox.org/2022/08/a-browser-based-runner-for...
We'll be presenting a poster about our experiment with FPPs at this year's SIGCSE.
> If you teach a different language besides Python, it may be possible for you to get it working if there's a way to run that language in the browser.
JavaScript comes to mind as an obvious choice. In my experience, something like this would be priceless when teaching!
Can anyone recommend an alternative, especially for puzzles about JavaScript?
For Python, this seems relevant: https://futurecoder.io/
Their Parsons implementation seems to be one-dimensional though (the student does not have to form the correct blocks by indentation): https://github.com/alexmojaki/futurecoder/blob/d6cb1a7bf8974...