sgimenez / laby

Learn programming, playing with ants and spider webs ;-)
https://sgimenez.github.io/laby/
Other
98 stars 39 forks source link

laby as web application #52

Open nthiery opened 6 years ago

nthiery commented 6 years ago

We are teaching an introductory programming class, in C++ at Université Paris Sud. We have been using for years "laby" in our first computer lab, and it's always proven very effective in engaging students and exposing them with the first constructs that they will learn in detail over the following weeks (if, for, functions, ...). We are also using it for the fête de la science at LRI. Thanks so much!

One thing has been bothering us though: students and participants would go out of the lab with a strong desire to play further at home, but then be stuck with the installation barrier. To resolve this, we would want to have laby available online as a web application.

Manpower permitting, we are considering reimplementing laby, reusing as much as possible of the existent (data, translations, artwork, ...). In term of technology we are planning to use the Jupyter interactive computing environment; in practice, each level would be a jupyter notebook, which would include explanations, a graphical widget (implemented using Jupyter widgets, and their c++ bindings and plots) displaying the labyrinth together with execution controls, and an input box for the user to enter her program.

Rationale for this technology stack:

What do you think?

cc: @JoelGay

nthiery commented 6 years ago

For the record: one of the former students of this clas, Donovan Trinh, will be working on this in the coming months; this will happen on: https://github.com/nthiery/laby-jupyter/

nthiery commented 4 years ago

Well, that took a while, but I finally got to build on the early experiments of Donovan, and an alpha version is out, and can be tried online with Binder: https://github.com/nthiery/laby-jupyter/ . If everything goes well, we will put it in production this coming week with our 400 students. Feedback most welcome!

sgimenez commented 4 years ago

I just had a look. That's awesome!

nthiery commented 4 years ago

Thanks :-)

It was indeed put in production and it worked out reasonably well. I have students currently working on support for Python. Hopefully some of the limitations will be polished too.

dgutson commented 1 year ago

@nthiery it's failing :( Just tried it but didn't start image sorry wrong repo, I should report it in its own repo.