Question: I need to do model the simple Random Walk I have to start with a point, and the point moves from the current position randomly

 I need to do model the simple Random Walk I have

I need to do model the simple Random Walk I have to start with a point, and the point moves from the current position randomly in any of the B cardinal directions a random distance say between 1 and 9 steps. I need the random walk should be at least 2000 steps. NB: These points should be circles with small radius Show my "random walk" like a series of circles on the stage Then display 10 random green circles on my stage. Rerun random walk when a random walk circle encounters a green circle, the green circle changes color to red and also starts to random walk. Ifany random walk circle \"a red one or an original one\" I encounters a green circle, the green circle changes color to red and as well as starts to random walk again each random walk should be at least 2000 steps

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!