10/29/2013 1
Roach Master: Putting it all together
Mohammad T . Irfan 10/29/2013
What we want
- Want to create hundreds of roaches, each of which has
a head, a body, and two antennas, with different initial locations and different speeds
- Want to create many circular food items, with different
locations and diameters
- If the mouse pointer goes close to a roach, it shoos the
roach away
- The roaches move automatically on the floor (within
bounds) in horizontal direction with random vertical movements
- If a roach gets some food, it eats the food. In that