Random Light Finder v2
After spending some hours getting more familiar with the functions of NXT-G blocks, I simplified the algorithm. The new version can be downloaded here.
I also created a more simplified version in which I only let NXT rotate instead of both rotating and going forward. This program can be used to find the direction of the light (for example, to determine the direction of a window). Download the rbt file here.
This post is licensed under CC BY 4.0 by the author.