Assignment 2-P2
Start Assignment
Due Monday by 11:59pm Points 14 Submitting a file upload File Types zip
Assignment2_Phase2_Spring22.pdf (https://canvas.sfu.ca/courses/68612/files/18374178/download? download_frd=1)
Copyright By PowCoder代写 加微信 powcoder
A2P2 Rubric Fall 21
Criteria Ratings Pts
1) Enlarge your environment, making its size no less than 1200X800, while maintaining a margin to the panel edges no less than 50 on each side
0 pts Full Marks
-0.5 pts if not followed
2) Create several creatures (5 ~ 8 to be desirable) and place them into an ArrayList. These creatures should be of different sizes (randomly generated, within certain range), have a slight variation in appearance
1 pts Full Marks
0 pts No Marks
3) Creatures start at a random location within the environment. Their motion must involve with moving along angular direction (i.e. shouldn¡¯t be just along vertical or horizontal direction), and always facing its moving direction
1 pts Full Marks
0 pts No Marks
4) Each of the creatures will always head for its desired food (that has the largest afc), and ignore the rest. It will turn to the next desired food only when the desired food is gone
3 pts Full Marks
0 pts No Marks
5) The food collection should be no less than 3 times of the number of creatures, which are randomly scattered within the environment. When a food is identified as desired food by any of the creatures, it should visually signal itself in certain way
1 pts Full Marks
0 pts No Marks
6) Whenever a food is eaten, respawn another one with random size and random location within the environment.
1 pts Full Marks
0 pts No Marks
7) When two different sized creatures collide, the smaller one has to turn away for an interval of 1 to 4 seconds (test to find the desired interval that works best for you so that the effect (i.e. turning and resume) is obvious to be observed), and then resume pursing its desired food again, while the larger one keeps its moving in its direction.
For collision of creature vs. creature or creature vs. food, it must be done using new approach. Using old approach will get 0.
4 pts Full Marks
0 pts No Marks
8) For collision between creature and edges of the environment, it must be handled with collision avoidance using the force model (as covered in week 6), i.e. identify the potential collision preemptively and avoid the collision gracefully, rather than bump into it before turning away.
3 pts Full Marks
0 pts No Marks
BONUS (up to 2 pts)
2 pts Full Marks
0 pts No Marks
Submission Requirements: get -.25 each for not following any of the three requirements.
0 pts Full Marks
if all three requirements missed
Total Points: 16
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com