Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
science_robot
on May 31, 2012
|
parent
|
context
|
favorite
| on:
Google Blockly - a visual programming language
I can't seem to find the end condition for the Maze demo. There is no 'goal_reached?'
elteto
on May 31, 2012
|
next
[–]
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
suninwinter
on May 31, 2012
|
prev
[–]
When I solved it, the program just stopped running.
science_robot
on May 31, 2012
|
parent
[–]
My browser crashes presumably because I use 'while true'. Chrome Version 19.0.1084.52
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: