[HN Gopher] Code Puzzle: "Parsons puzzles" generator and manager
___________________________________________________________________
Code Puzzle: "Parsons puzzles" generator and manager
Author : laurentabbal
Score : 21 points
Date : 2022-11-25 12:07 UTC (10 hours ago)
(HTM) web link (www.codepuzzle.io)
(TXT) w3m dump (www.codepuzzle.io)
| tuukkah wrote:
| I can see the site is in both English and French, but I get the
| puzzles only in French.
| pamelafox wrote:
| Nice generator! Parsons Puzzles are a well researched way of
| scaffolded learning in the CS community.
|
| 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.
| arvindh-manian wrote:
| Woah -- I spent a couple of weeks last year doing a
| quantitative comparison of the outcomes of students using FPPs
| vs ones using traditional PPs. And I'm pretty sure I emailed
| someone at Berkeley (last name Weinman, I think?) asking some
| questions about their paper on FPPs. The Internet really is a
| small place!
| tuukkah wrote:
| From your blog:
|
| > _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!
| pamelafox wrote:
| I think you should be able to use OP's site or the js-parsons
| library to make JS puzzles, if you're okay with "line-based
| feedback". To use Faded Parsons with JavaScript and test-
| based feedback, you'd need to decide the format of the tests,
| since JS doesn't have a built-in doctest module like Python.
| Once you did that, it should be straightforward enough to use
| it for JavaScript. Happy to help if you end up branching off
| my repo.
| laurentabbal wrote:
| Interesting. Code Puzzle also offers the possibility to add
| blanks (and drop down menus), but no doctests. Maybe a new
| feature for the next version.
| pamelafox wrote:
| The "Options" documentation is still in French when I click
| "Create a Puzzle", that's why I didn't realize one could add
| blanks/menus.
| pamelafox wrote:
| Oh nice, I didn't realize you had that capability. It looks
| like you're using js-parsons, which is also what we branched
| off. I ended up deleting the line-based grader logic in our
| js-parsons fork, since we only need doctest-based grading and
| I wanted to clean up the code, but in theory, both kinds of
| graders can co-exist.
| laurentabbal wrote:
| bugfix-66 wrote:
| A more challenging code puzzle game: https://BUGFIX-66.com
| tuukkah wrote:
| This seems to use the js-parsons library which has not been
| updated in years: https://github.com/js-parsons/js-parsons
|
| 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...
___________________________________________________________________
(page generated 2022-11-25 23:02 UTC)