featured carnivores based on terrarium system ohio university cs456/556 fall, 2002 chris walsh derek...
TRANSCRIPT
Featured Carnivores Based on Terrarium System
Ohio University CS456/556 Fall, 2002
Chris Walsh Derek Stacey Don Finley Jeff Renshaw
Libo caoAdvisor: Chang Liu
Section 1
Team Member Introduction
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
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
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
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
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
Section 2
Requirement and Analysis Model
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
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
Ohio University
Use Cases
Regeneration
isFull?Scan Enviroment Lock Target Check Target State Move to Target Eat
Eating
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
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
Ohio University
MovementManagement
Movement
Package Analysis and Dependencies
1. Movement Management
2. Action Management
3. Battle Management
ActionManagement
GrowthEating Regeneration
BattleManagement
DefenseAttack
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)
Section 3
Design and Implementation
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
Ohio University
Deployment Model
Deployment Model forthe Ecosystem Mode
Deployment Model for the Terrarium Mode
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
Ohio University
Architectural of Three Carnivore Component
Attack.cs
• Attack strategy Simple.cs
• Growth
• Regeneration
• Eating
• Moving
Ohio University
Architectural of Defense Carnivore Component
Defend.cs• Defense strategy
Simple.cs• Growth
• Regeneration
• Eating
• Moving
Ohio University
Architectural of Combo Carnivore Component
Simple.cs• Growth
• Regeneration
• Eating
• Moving Attack.cs
• Attack strategy Defend.cs
• Defend strategy
Ohio University
Mapping Executable Components
Combo Carnivore Executable Components Mapping onto Node
Overview of all components in the system
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
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
Section 4
Test and Evaluation
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
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
Section 5
Conclusions
Ohio University
Conclusions
Complete Requirement and Analysis Model
Excellent Design Model
Corporative teamwork for Implementation
Successful Test Result
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
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.
Section 6
Reference and Acknowledgement
Ohio University
Acknowledgement
Dr. Chang Liu
T. A. Chitra Nedunchelliyan
Aaron T. Mitchell
Terrarium Community Members