Closed MattPellegrini closed 12 years ago
Done, I think the only way you can win/lose a game without the game telling you correctly is if you manage to get a prefix of the goal into the goal component. The only way to fix this would be to have the goal component have a time out, when it asks the UILevel to check if any trains are still to come, if not it should fail, if yes it should reset it's timer. However this is not really necessary as it should be obvious to the user that then haven't succeeded.
I think this could be closed now?
Yup
This means: Checking for deadlocks. Checking that the trains match the goal and not just that the goal is a prefix of the trains arriving. E.g. 1-2-3-4 should not be a solution to 1-2-3