#PSEUDOCODE
persons.initializeLocation
timer.start
persons.startMovement
while timer < 2 minutes {
for person in persons {
if (person.collision = true){
person.yellBump
person.moveInRandomDirection
for other in (persons - person){
other.moveTowards(bumpYell)
}
}
}
Click to Expand
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .