Y
Hacker News
new
|
ask
|
show
|
jobs
by
science_robot
5125 days ago
I can't seem to find the end condition for the Maze demo. There is no 'goal_reached?'
2 comments
elteto
5125 days ago
There isn't. I had to enclose the algorithm in a while (true) loop and if you reach the goal the program stops automatically. Here is a screenshot:
http://imgur.com/0mape
link
suninwinter
5125 days ago
When I solved it, the program just stopped running.
link
science_robot
5125 days ago
My browser crashes presumably because I use 'while true'. Chrome Version 19.0.1084.52
link