Java Assignments 编程设计代写、代写Assignments作业

Java Assignments 编程设计代写、代写Assignments作业
Assignments Overview
Big picture: In the series of assignment you will create a simulation of a natural world with animals (birds, fish, insects, mammals, etc) that move, eat, die and predators that hunt them. We will finish with simulating some flocking behavior and build some smartness into the simulation. In the process, you will learn Java and object oriented programming, and get plenty of practice opportunities.
Choose a kind of animal world you will build a simulation of. As we progress, you will have to draw your animals, their predators, their food, and features of the environment.
Assignment 2
You will continue working on your simulation from Assignment 1.
You will learn how to process mouse events (adding food at mouse location), work with ArrayList (several animals, several food sources), handle between-objects collisions, improve your simulation model by incorporating forces.
A2: Phase 1 Requirements
? Add food using mouse, at the mouse-click location. You can keep increasing size of the food by clicking on the created food. Your food object should hold the size information and food drawing should reflect the food size.
Bonus (1 point): The longer you keep the mouse button pressed on teh food, the larger the food portion. This bonus point will be marked with Phase 2 and will contribute to the overall bonus point sum.
? When you Ctrl-Click on food it is removed from the list.
? You must create MouseAdapter for processing MouseEvents.
? You should be able to create several food sources at the same time. Store food objects in an ArrayList. When food is created, you add it to the list, when food is eaten, remove it from the list.
? When you animal eats all food you created, it should continue moving in a straigt line, turning at the edges of the environment.
? In Phase 1, let your animal pursue the food source that is the closest, regardless of the food size.
A2: Phase 2 Requirements
? You will continue improving your project from Phase 1
? Create several animals and place them into the ArrayList. The animals should be of different sizes (randomly generated, within certain range), have a slight variation in appearance (as required in assignment 1).
? Set animal’s maximum speed based on their size. By default, the larger the animal the slower it moves.
BONUS (2 points): Change the model to reflect a concept of an ‘ideal weight’. Animal with an ideal weight will move the fastest. Underweight and overweight animals will move progressively slower.
? Incorporate a model for selecting food your animal will pursue (aka an attraction force). The attraction force should be proportional to food size and diminish with distance (AF=FOOD_SIZE/DISTANCE)
? Incorporate an energy model for your animals.
o When animal moves, it loses energy at certain rate based on their size (you may need to experiment with different values).
o When food is consumed, it adds animal an amount of energy proportional to food size.
o When energy falls below certain level, draw animal as sick. Sick animal move at half of their speed. When animal walls below second threshold, they will die. Remove an animal and generate a new one.
BONUS (2 points): Change the energy model in the way that animal with energy above certain threshold will grow, which will consume some energy. As a larger animal it will start consuming more energy to move and it will move slower (or if you have implemented an ‘ideal weight’ model from above, then it will move accordingly)
? Detect conflict between animals. When two different sized animals collide, the smaller one has to change the direction in which it is moving. This way the bigger animals can “push aside” smaller ones when pursuing the same food source.
Note on bonus functionality: You must indicate in the comment at the top of the main file which bonus features you have attempted and also clearly indicate bonus functionality in the comments at the appropriate places.
http://www.6daixie.com/contents/9/1294.html

本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,国内Top5硕士、博士生,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。

我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全  汇编语言 硬件编程 软件设计 工程标准规等。其中代写代做编程语言或工具包括但不限于以下范围:

C/C++/C#代写

Java代写

IT代写

Python代写

辅导编程作业

Matlab代写

扫描二维码关注公众号,回复: 44330 查看本文章

Haskell代写

Processing代写

Linux环境搭建

Rust代写

Data Structure Assginment 数据结构代写

MIPS代写

Machine Learning 作业 代写

Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导

Web开发、网站开发、网站作业

ASP.NET网站开发

Finance Insurace Statistics统计、回归、迭代

Prolog代写

Computer Computational method代做

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codinghelp

猜你喜欢

转载自www.cnblogs.com/python3years/p/8909571.html