Part 2 in action

At one intersection is you, represented by a green triangle. At another intersection is The Round Bean Coffeehouse, represented by a circle, and at another intersection is Square Deal Coffee, represented by a square. If the circle is closer to you, it is filled in blue. If the square is closer to you, it is filled in blue. The one that is farther away will be filled in white. Every time you click the mouse, your program will produce another random positioning of the circle, triangle, and square.

Your browser does not support the <canvas> element, so you cannot see this interactive example.