aroberge / reeborg

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

Loading of distant worlds via url is broken #199

Closed aroberge closed 9 years ago

aroberge commented 9 years ago

If we load a distant world, e.g.

World("http://personnel.usainteanne.ca/aroberge/reeborg/token.json")
move()
move()

the behaviour of World is different from that of loading a local world. The first time it is executed, it should result in an updated menu item and no execution of the rest of the program. The second time, the instruction should be ignored, and the rest of the program should be executed.

aroberge commented 9 years ago

When it is fixed, the French (and English?) version of challenges1.rst should corrected to remove the note about the presence of this bug.