aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

user progress by language or input method #429

Closed aroberge closed 6 years ago

aroberge commented 6 years ago

Currently, if a user writes a program that solves a world using either Python, Javascript or Blockly (or repl?), the display is updated to indicate success. If the user changes the programming language, the world is still indicated as solved. Given issue #427 this should be changed so that one also keeps track of which "language" was used for the solution. For each "language", the set of solutions should be kept separate. By "language" here, we mean either using Python in the code editor, Javascript in the code editor, or Blockly. Worlds solved using the Python repl should not be counted.

Given the existing user progress, the first step should be to convert the existing progress the first time they are loaded, using the current "language" as the guide for conversion.