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) 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 Ohio University Derek Stacey 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 Ohio University Chris Walsh Section 2 Requirement and Analysis Model Requirement Model Identify Actors 1) Carnivore 2) Herbivore 3) Plant Identify Architec- Logical User Use Cases tures Interface 1) 2) 3) 4) 5) 6) Ohio University Movement Attack Regeneration Eating Defense Growth Models & Prioritize User Interface Elements Use Cases Movement Scan Enviroment Lock Target Get Direction & Speed Take Action Attack Scan Enviroment Lock Target Check Species Check Life State Check Energy Update Target Other Actions Ohio University Attack Action Use Cases Regeneration Eating Scan Enviroment Lock Target Ohio University isFull? Check Target State Move to Target Eat Use Case Model Ohio University Analysis Model Use Case Realization 1) 2) 3) 4) 5) 6) Movement Attack Defense Eating Regeneration Growth Ohio University Package & Architectures Class Analysis Analysis 1) Dependency Analysis 2) Identify the analysis packages 3) Class Analysis 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 Package Analysis and Dependencies 1. 2. 3. Movement Management Action Management Battle Management Eating Attack Regeneration Movement DefenseGrowth Battle Movement Action Management Management Management Ohio University Example Class Analysis : Regeneration Responsibilities: Regenerate new creatures 2. Give genetic memory to Offspring 1. Attributes: Creature must be full size 2. Energy level should be above normal 3. Attribute ReadyToReproduce = True 4. Defined Constant: MatureRadius = MatureSize/2 GrowthWait= (LifeSpan/2)/(MatureRadius – InitialRadius) 1. Ohio University Section 3 Design and Implementation Design Model Architecture Design Use Case Class Subsystem Design Design Design 1) Deployment Model 2) Major Subsystems & Interfaces 3) Important Design Classes 4) Generic Design Mechanisms Ohio University 1) 2) 3) 4) 5) 6) Movement Attack Defense Eating Regeneration Growth 1) Application Specific Layer 2) Application General Layer 3) Middleware Layer 4) SystemSoftware Layer Deployment Model Deployment Model for the Ecosystem Mode Ohio University Deployment Model for the Terrarium Mode Subsystems Ohio University Sequence Diagram – Movement Use Case Ohio University Class Diagram – Movement Use Case Ohio University Implementation Integrate Architecture Implementation 1) Significant Component 2) Mapping Executable Components onto Nodes System Attack Carnivore Defense Carnivore Combo Carnivore Ohio University 1) Integrating Build plan 2) Subsystems & Interfaces 3) Classes Architectural of Three Carnivore Component Attack.cs • Attack strategy Simple.cs • • • • Growth Regeneration Eating Moving Ohio University Architectural of Defense Carnivore Component Defend.cs Simple.cs • Defense strategy • Growth • Regeneration • Eating • Moving Ohio University Architectural of Combo Carnivore Component Simple.cs Attack.cs Defend.cs • Growth • Regeneration • Eating • Moving • Attack strategy • 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 • • Build 2 • • Functionality: Implement the simple carnivore template provided by Microsoft Effected Components: simple.cs 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 Ohio University Integrating Build Plan Ohio University Section 4 Test and Evaluation Test Test Strategy Unit Test & Integration Test 1) Test Driver 2) Design Specification & Structure Test Test 1) Configuration Test 2) Black Box & White Box System Test 1) Black Box & White Box Test 2) Integration Test Cases Ohio University System Unit Test Example 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 Framework Terrarium Client 1.1x Terrarium Server Hardware 64 MB RAM 2 GB Hard Disk 800 x 600 Monitor Resolution Ohio University Successful Black Box Testing Ohio University System Complete White Box Testing Ohio University Section 5 Conclusions 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. Ohio University Section 6 Reference and Acknowledgement Reference Website http://www.phy.ohiou.edu/~lbcao/cs556.htm Ohio University Acknowledgement Dr. Chang Liu T. A. Chitra Nedunchelliyan Aaron T. Mitchell Terrarium Community Members Ohio University We Love Our Team ! Team Work Deserves Five ! Ohio University