Ad
  • Custom User Avatar

    I am also having problems:

    When I attempt to submit, the code passes all testes except one named "should work".

    This test says it expects

    '[\'E.Honda\', \'Blanka\', \'Guile\', \'Balrog\', \'Vega\', \'M.Bison\', \'Sagat\', \'Sagat\', \'Sagat\', \'Balrog\', \'Sagat\', \'Balrog\', \'Guile\', \'Balrog\', \'Vega\', \'Vega\']'
    

    , but received

    '[]'
    

    Based on the expectation, I set up a test with

    moves = ["right","right","right","right","right","down","left","down","down","up","down","up","left","right","right","up"];
    

    with which the output is as expected.

    Please check if tests on submit are correct.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    In Javascript, the tests and final evaluation fail even with correct answers