Ad
  • Custom User Avatar

    Programming language: Java
    Challenge: Pathfinder #1

    Hello.

    I've stumbled over the following issue:

    My code works fine for the fixedTests and the moreTests...

    But when it comes to the randomTests, I get mazes like this one:

    ..W...W.W \n
    ..WW..WWW \n
    .....W... \n
    .W..W.... \n
    W....WWWW \n
    .......W. \n
    ..W...... \n
    WW.WW..WW \n
    .....W..W
    
    expected: but was:

    Why should that return ?

    Could anyone explain that to me? The last tile is obviously a wall, which can't be entered.

    Is that just an error in the java version? (java has only been solved once and maybe by 'accident'...)

    Thanks in advance,

    nudelchef