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

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.

Posted Date: 3/21/2013 2:59:11 AM | Location : United States







Related Discussions:- Create c sharp classes needed to track creature viability, Assignment Help, Ask Question on Create c sharp classes needed to track creature viability, Get Answer, Expert's Help, Create c sharp classes needed to track creature viability Discussions

Write discussion on Create c sharp classes needed to track creature viability
Your posts are moderated
Related Questions
You are required to develop a program that calculates the charges for DVD rentals, where current release cost RM3.50 and all others cost RM2.50. If a customer rents several DVDs, e

What are the main pros and cons of assembly programming language?

Write an interactive C program which prompts the user with the following options on the opening menu: 1) Student information 2) Theory counselling batch-scheduling

a) Write a program i_language(Sentence,NewSentence) that translates a sentence to the i-language. In this language all vowels are changed to i and all other characters are kep

This assignment is divided into two parts. The goal is to write a Java program that calculates capital gain on a stock market, see Lab 7. When a share of common stock of some co

Expertsmind brings you unique solution in java assignments Event Delegation Model The Delegation Model with java assignment help Version 1.1 of the Java TM foundation

Define Call by value - Computer Programming? Functions are raise by writing their name and an appropriate list of arguments within parenthesis. Usually these arguments are in t

We need help for build a Price Quote Generator I am interested in two things (A) a web based system that will allow a user to enter the parameters of their contests (there are o

Project2: A Simple Distributed Computing Platform (Due at 11:59:59pm on 04/12/2012 (EST)) Description: You are asked to develop a replicator (client) that distributes a large job

Open error message coming out when compiling