News for hackers. Stuff that matters.
Re:Google Blockly - a visual programming language by xarien on Friday June 01, 2012 @02:04AM (#4052185)
http://imgur.com/Nvy8u

Here's one with same amount of code and optimal logic (for this map) without hard coding. It also ensures that there is a forward step in every iteration of the while loop.

Basically it's just an order of preference:

Turn right > turn left > go straight

There are no comments on this comment yet.