featured carnivores based on terrarium system ohio university cs456/556 fall, 2002

44
Featured Carnivores Based on Terrarium System Ohio University CS456/556 Fall, 2002 Chris Walsh Derek Stacey Don Finley Jeff Renshaw Libo cao Advisor: Chang Liu

Upload: atara

Post on 16-Jan-2016

23 views

Category:

Documents


1 download

DESCRIPTION

Featured Carnivores Based on Terrarium System Ohio University CS456/556 Fall, 2002. Chris Walsh Derek Stacey Don Finley Jeff Renshaw Libo cao Advisor: Chang Liu. Section 1. Team Member Introduction. Team Member Introduction. Microsoft Certified Professional (MCP) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Featured Carnivores Based on Terrarium System

Ohio University CS456/556 Fall, 2002

Chris Walsh Derek Stacey Don Finley Jeff Renshaw

Libo caoAdvisor: Chang Liu

Page 2: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 1

Team Member Introduction

Page 3: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Team Member Introduction

Microsoft Certified Professional (MCP)

Microsoft Certified Professional at Internet (MCPI)

Microsoft Certified System Engineer (MCSE)

Research Assistant for American Army

Experienced in C++, Visual Studio Programming, Matlab, LabVIEW

PhD in Chemistry MS in Math - Computer Science

Libo Cao

Page 4: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Team Member Introduction

Diverse Knowledge of Programming Languages and Computing Platforms

Interned at Nationwide in Columbus

Adapt to the .Net Platform and Excel it in.

BS in Computer Science

Derek Stacey

Page 5: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Team Member Introduction

Technical Support and Account Management for Compuserve/Aol

Web Designer for St. Paul Lutheran Church in Columbus

Experienced in C/C++ Programming

BA in Computer Science

Jeff Renshaw

Page 6: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Team Member Introduction

Web Designer for Companies in Cleveland

Program and Design Database for A Commercial HVAC Company

BS in Computer Science

Don Finley

Page 7: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Team Member Introduction

Co-CEO of a Small Web Page Design Company Named Parimus.

Freelance His Skills to the Highest Bidder While He Attends College.

BS in Computer Science

Chris Walsh

Page 8: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 2

Requirement and Analysis Model

Page 9: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Requirement Model

IdentifyActors

Identify

Use Cases

Architec-

tures

Logical User

Interface

1) Carnivore2) Herbivore3) Plant

1) Movement2) Attack3) Regeneration4) Eating5) Defense6) Growth

User InterfaceElements

Models& Prioritize

Page 10: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Use Cases

Movement

Scan Enviroment Lock Target Get Direction & Speed Take Action

Scan Enviroment Lock Target Check Species Check Life State Check Energy Attack Action

Other Actions

Update Target

Attack

Page 11: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Use Cases

Regeneration

isFull?Scan Enviroment Lock Target Check Target State Move to Target Eat

Eating

Page 12: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Use Case Model

Page 13: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Analysis Model

Use CaseRealization

Package &

Class Analysis

Architectures

Analysis

1) Movement2) Attack3) Defense4) Eating5) Regeneration6) Growth

1) Dependency Analysis

2) Identify the analysis packages

3) Class Analysis

Page 14: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Example Use Case Realization - Defense

Scan Target Boundary Class Determine Threat Boundary Class Low Threat Action Control Class High Threat Action Control Class Reassess the Threat

Page 15: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

MovementManagement

Movement

Package Analysis and Dependencies

1. Movement Management

2. Action Management

3. Battle Management

ActionManagement

GrowthEating Regeneration

BattleManagement

DefenseAttack

Page 16: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Example Class Analysis : Regeneration

Responsibilities:1. Regenerate new creatures2. Give genetic memory to Offspring

Attributes:1. Creature must be full size2. Energy level should be above normal3. Attribute ReadyToReproduce = True4. Defined Constant:

MatureRadius = MatureSize/2GrowthWait= (LifeSpan/2)/(MatureRadius – InitialRadius)

Page 17: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 3

Design and Implementation

Page 18: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Design Model

Architecture Design

Use Case

Design

Class

Design

Subsystem

Design

1) Deployment Model2) Major Subsystems & Interfaces3) Important Design Classes4) Generic Design Mechanisms

1) Movement2) Attack3) Defense4) Eating5) Regeneration6) Growth

1) Application Specific Layer2) Application General Layer3) Middleware Layer4) System-

Software Layer

Page 19: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Deployment Model

Deployment Model forthe Ecosystem Mode

Deployment Model for the Terrarium Mode

Page 20: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Subsystems

Page 21: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Sequence Diagram – Movement Use Case

Page 22: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Class Diagram – Movement Use Case

Page 23: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Implementation

Architecture Implementation

Integrate

System

1) Significant Component 2) Mapping

Executable Components onto Nodes

1) Integrating Build plan2) Subsystems & Interfaces3) Classes

Attack Carnivore

DefenseCarnivore

ComboCarnivore

Page 24: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Architectural of Three Carnivore Component

Attack.cs

• Attack strategy Simple.cs

• Growth

• Regeneration

• Eating

• Moving

Page 25: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Architectural of Defense Carnivore Component

Defend.cs• Defense strategy

Simple.cs• Growth

• Regeneration

• Eating

• Moving

Page 26: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Architectural of Combo Carnivore Component

Simple.cs• Growth

• Regeneration

• Eating

• Moving Attack.cs

• Attack strategy Defend.cs

• Defend strategy

Page 27: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Mapping Executable Components

Combo Carnivore Executable Components Mapping onto Node

Overview of all components in the system

Page 28: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Integrating build plan

Build 1• Functionality: Implement the simple carnivore template provided by Microsoft

• Effected Components: simple.cs Build 2

• Functionality: Add the functionality of Eating, Movement, and Attack use cases.

• Effected Components: attack.cs, simple.cs Build 3

• Functionality: Growth and Reproduction use cases will be implemented

• Effected Components: simple.cs

Page 29: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Integrating build plan

Build 4• Functionality: Defending strategy will be implemented

during this build

• Effected Components: defend.cs Build 5

• Functionality: Introduce Advanced Strategic Deployment Strategies.

• Effected Components: attack_carnivore.dll, defense_carnivore.dll, ultravore.dll

Page 30: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Integrating Build Plan

Page 31: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 4

Test and Evaluation

Page 32: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Test

Test Strategy Unit Test &

Integration Test System

Test

1) Test Driver2) Design Specification & Structure Test

1) Black Box & White Box Test2) Integration Test Cases

1) Configuration Test2) Black Box & White Box

System Test

Page 33: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Unit Test Example

Page 34: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Configuration Test

Operating System (OS) Windows NT

Windows 2000 Windows XP

Software .Net Framework SDK (Software Development

Kit) Visual Studio .Net or .Net FrameworkTerrarium Client 1.1xTerrarium Server

Hardware 64 MB RAM 2 GB Hard Disk 800 x 600 Monitor Resolution

Page 35: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Successful Black Box Testing

Page 36: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

System Complete White Box Testing

Page 37: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 5

Conclusions

Page 38: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Conclusions

Complete Requirement and Analysis Model

Excellent Design Model

Corporative teamwork for Implementation

Successful Test Result

Page 39: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Important Featured Strategies

Decent Path Finding 1) Be able to chase its prey through a maze of plants without collisions in straight line

Good Hunting Strategy 1) Knows when to speed up for your prey, when to

change to a different gear 2) Good understanding of their environment

Good Defending Strategy 1) Calculate the "odds" of a successful fight 2) Assesses whether to chase, ignore or flee. 3) Good strategy for dodging other stronger carnivores

Page 40: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Important Featured Strategies (cont’)

Good Energy Management 1) Need energy to acquire a very limited food supply. 2) Expend about as much energy in a chase as they got from the kill. 3) Stands still before breed.  

Communication Between TeamWorks Know how to hunt in groups

Reproduction and Evolve Strategy 1) Understand the rules on sickness 2) Mechanism that inhibits the carnivore's breeding 3) Algorithm that each Teamwork monitors the number of Creatures 4) Determines the ideal number of offspring   5) Random variation of constants between generations.

Page 41: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Section 6

Reference and Acknowledgement

Page 42: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Reference Website

http://www.phy.ohiou.edu/~lbcao/cs556.htm

Page 43: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

Acknowledgement

Dr. Chang Liu

T. A. Chitra Nedunchelliyan

Aaron T. Mitchell

Terrarium Community Members

Page 44: Featured Carnivores  Based on Terrarium System Ohio University CS456/556 Fall, 2002

Ohio University

We Love Our Team ! Team Work Deserves Five !