{"action":"closed","issue":{"url":"https://api.github.com/repos/codenvy/codenvy/issues/489","repository_url":"https://api.github.com/repos/codenvy/codenvy","labels_url":"https://api.github.com/repos/codenvy/codenvy/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/codenvy/issues/489/comments","events_url":"https://api.github.com/repos/codenvy/codenvy/issues/489/events","html_url":"https://github.com/codenvy/codenvy/issues/489","id":168392522,"number":489,"title":"inconsistent results on javascript","user":{"login":"gregeb13","id":14225295,"avatar_url":"https://avatars.githubusercontent.com/u/14225295?v=3","gravatar_id":"","url":"https://api.github.com/users/gregeb13","html_url":"https://github.com/gregeb13","followers_url":"https://api.github.com/users/gregeb13/followers","following_url":"https://api.github.com/users/gregeb13/following{/other_user}","gists_url":"https://api.github.com/users/gregeb13/gists{/gist_id}","starred_url":"https://api.github.com/users/gregeb13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregeb13/subscriptions","organizations_url":"https://api.github.com/users/gregeb13/orgs","repos_url":"https://api.github.com/users/gregeb13/repos","events_url":"https://api.github.com/users/gregeb13/events{/privacy}","received_events_url":"https://api.github.com/users/gregeb13/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codenvy/codenvy/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-29T19:05:03Z","updated_at":"2016-08-25T06:36:00Z","closed_at":"2016-08-25T06:36:00Z","body":"** If you are a Codenvy customer or have a trial license please file your issues with Support through email. GitHub issues do not have a response SLA.**\r\n\r\n[Short description of problem here]\r\n\r\nteaching a class on javascript- 12 students, 10 different results, mostly failing with exact same source\r\ncode.\r\n\r\nReproduction Steps:\r\n\r\n1- clone this project:https://codenvy.com/ws/tkp/tkp-ce-student\r\n[First Step]\r\n[Second Step]\r\nrun spiral.js \r\nmake a few edits. ( 12 different students)\r\nbuild and run..\r\n[Other Steps...]\r\nExpected behavior:\r\nall 12 students should have the exact same results.\r\n\r\nsome builds fail, some builds work but no tortoise is shown\r\nsome tortoise shows and actually draws a spiral parttern.\r\n\r\ntotally all over the map.\r\nthis code worked fine 8 mos ago.\r\n\r\n[Describe expected behavior here]\r\n\r\nObserved behavior:\r\n\r\n[Describe observed behavior here]\r\n\r\nCodenvy version: [Enter Codenvy version here]\r\nOS and version: [Enter OS name and version here]\r\n\r\nAdditional information:\r\n\r\nProblem only started happening recently, didn't happen in an older version of Codenvy: [Yes / No]\r\nProblem can be reliably reproduced: [Yes / No - it's random]\r\n---code is below--\r\n\r\n//package org.teachingkidsprogramming.recipes.completed.section01forloops;\r\npackage org.teachingkidsprogramming.section01forloops;\r\n\r\nimport org.teachingextensions.logo.Tortoise;\r\n//import org.teachingextensions.logo.utils.ColorUtils.PenColors;\r\nimport org.teachingextensions.virtualproctor.VirtualProctor;\r\n\r\npublic class SimpleSquare\r\n{\r\n  public static void main(String[] args) \r\n  {\r\n    //  Show the tortoise --#1\r\n Tortoise.show();\r\n    //  Make the tortoise move as fast as possible --#6\r\n  \r\n    //  Do the following 4 times --#5.1\r\n    //      Change the pen color of the line the tortoise draws to blue --#4\r\n     // Tortoise.setPenColor(PenColors.Blues.Blue);\r\n      //      Move the tortoise 50 pixels --#2\r\n      //   \r\n      Tortoise.setSpeed(10);   \r\n    for (int j=0; j < 200; j++){    \r\n      for (int i =0; i<4;i++){ \r\n        Tortoise.move(50);\r\n          Tortoise.turn(90);               \r\n      }\r\n    Tortoise.turn(45);\r\n  }\r\n      \r\n      //      Turn the tortoise to the right (90 degrees) --#3\r\n      \r\n \r\n    //  Repeat --#5.2\r\n    //\r\n    //  (Optional): Sign your work using the Virtual Proctor \r\n    //  See your work at http://virtualproctor.tkpjava.org\r\n    VirtualProctor.setClassName(\"TKPHouse\");\r\n    VirtualProctor.setName(\"LynnLangit\");\r\n  }\r\n}"}}
{"actor":{"display_login":"eivantsov"}}