Create c sharp classes needed to track creature viability, Programming Languages

Assignment Help:

P4's goal is to design the C# classes needed to track creature viability in a MMO game under development

Part I: Class design

1)  GameCreature class (with derived types PredatorCreature and AgileCreature) as defined in P3. 

2)  Addition of functionality to order, rank, compare, sort GameCreature objects (includes parent and derived types) according to anticipated rate of energy consumption (calculated internally). 

3)  Ability to cull GameCreature objects (includes parent and derived types) from gameplay when rate of energy consumption is too high or too low. 

4)  A game is played with a collection of GameCreatures, a variety of parent and child types.

Clearly, many details are missing.  You must use operator overloading.

Make reasonable design decisions so that your classes satisfy the stated goals, communicate assumptions and use, and yield clear and maintainable software. 

Use ProgrammingByContract to specify pre and post conditions; interface, implementation and class invariants.  Relationships should be noted in the appropriate invariants. 

You MUST reuse all GameCreature classes from P3. 

Part II: Driver

Design a driver to demonstrate program requirements: Do not skimp on your driver's design

Clearly specify the intent and structure of your driver. You should have collections of distinct objects, initialized appropriately, i.e. random distribution of objects with arbitrary initial values (values should be reasonable) meaningful base values for non-arbitrary initial values.


Related Discussions:- Create c sharp classes needed to track creature viability

Advantages of asp.net mvc framework, Advantages of asp.net mvc framework ...

Advantages of asp.net mvc framework MVC is a conventional style design that many designers are acquainted with. Some kinds of Web programs will advantage from the MVC structur

What is an abstract class, What is an abstract class:   Abstract class is s...

What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c

Visual logic, how much it will cost? i need learn how to make rightsided tr...

how much it will cost? i need learn how to make rightsided triangle in forloop

Project , You get a contract to implement a simple Java application that pr...

You get a contract to implement a simple Java application that process NBA team roster : your application has to read the NBA team roster from a text file and then print each playe

Explain the continue statement - computer programming, Explain the Continue...

Explain the Continue statement - Computer Programming? This is alike to break but is encountered less frequently. It merely works within loops where its effect is to force an imm

Need help for crowdsporting website development, CrowdSporting Website Deve...

CrowdSporting Website Development I want an advanced web developer to spend 1-2 days coding our newly designed website. It will be a single page scrolling site, fully designed a

Reader-writer problem, The reader-writer problem can be stated as follows: ...

The reader-writer problem can be stated as follows: A shared memory location can be concurrently read by any number of tasks, but when a task must write to the shared memory locati

Creates an object and prompt the user to enter the name, Design an object d...

Design an object definition named Pet, which should have the following fields: name: The name field holds the name of a Pet type: The type field holds the type of anima

FORTRAN, WRITE A FORTRAN PROGRAMME TO GENERATE PRIME NUMBERS BETWEEN 1 AND ...

WRITE A FORTRAN PROGRAMME TO GENERATE PRIME NUMBERS BETWEEN 1 AND 100.

Dbms, 2. Design an ER diagram for an IT training group database that will m...

2. Design an ER diagram for an IT training group database that will meet the information need’training programme. Clearly indicate the entities, relationships and the key constrain

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd