tomitrescak / clara-support

0 stars 0 forks source link

Sokoban: testLevelComplete() no longer works as expected #91

Closed antonwsu closed 3 years ago

antonwsu commented 3 years ago

I need help with fixing testLevelComplete in Sokoboan (AUT 2021 -> 7.2 and 7.3).

Test it with putting the following code inside act().

    if ( testLevelComplete() )
        showWarning("Level Complete!");

It's supposed to only return true when mushrooms are positioned on top of all GhostWalls, but it's enough to put mushrooms on top of 2. Screen Shot 2021-07-15 at 2 30 40 pm

tomitrescak commented 3 years ago

Fixed on live and staging