Monday, August 1, 2016

Ozobot - Slot Car Challenge



The following is my implementation of the #ozobot slot car challenge. I realize that you could solve the problem using a modular devision but I opted to use the a function that counts seven intersections.




Source:
https://raw.githubusercontent.com/kaloisi/ozobo/master/slot-car.ozocode

  • http://ozoblockly.com/resource/challenges/Slot-Car-Race-Track-Challenge.pdf
  • http://ozoblockly.com/resource/challenges/Slot-Car-Track.pdf

2 comments: