Silent Teacher - a game to teach basics of programming

Two days ago I’ve been searching for some interactive way to help my wife learn programming.
We’ve found “Silent Teacher”, which is awesome!

I’ve immediately started trying to clone that in Elm, and now have a first prototype:

Code: https://github.com/Janiczek/silent-teacher
Try it: https://janiczek.github.io/silent-teacher/

Some things are still missing:

  • it doesn’t generate another exercise of the same type when you make an error
  • there is a global progressbar instead of “levels” / “topics” grouping
  • you don’t see your history, etc.

but it’s there, it’s usable and extensible :slight_smile:

10 Likes

Nice, but I got stuck on concatenating two strings, there seems to be a bug there.

On this task

let
    a = "xz"
    b = "vcl"
in
    a ++ b

I input xzvcl but I get a flashing message showing the right answear:

let
    a = "xz"
    b = "vcl"
in
    a ++ b
= "xzvcl"

Even when I copy / paste that right answer it does not work.

I found the problem here, toString (string1 ++ string2) will return "xzvcl" in my case. If I typed in the surrounding quotes I could continue. Maybe that is intended?

Yes, I didn’t particularly agree with the original version allowing you to omit the double quotes of strings :slight_smile: So you should input "xzvcl" and not xzvcl

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.