Assignment 2 Task 2: Application Design. By Dr Derek Peacock

Similar documents
GAME 1: 2 v 2 Why play this Game: Scenario What will this Game do? What do I need to set up this Game? What will pitch layout look like?

Lab: Predator-Prey Simulation

BPMN - IV. Rushikesh K Joshi IIT Bombay

Advanced PMA Capabilities for MCM

Get it here. Page 1 of 7 Date:Jan 8, 2014

Start - All Programs - Class Software - Scratch - Scratch move move move Sound play drum move move move play drum Control forever forever forever

NCSS Statistical Software

UTAH LAKE JUNE SUCKER

Race Screen: Figure 2: Race Screen. Figure 3: Race Screen with Top Bulb Lock

GHIN Handicap Program (GHP) Summary Instructions on How to Update Your Roster

Jackpot Rodeo - A Tutorial

2017 FFV Sports TG User Guide STG Online Results Match Official User Guide

Tutorial 6a Manual Digitisation

Case Study. PayPal s Sparkline Case Study. About Sparkline

Chapter 5 5. INTERSECTIONS 5.1. INTRODUCTION

Computer Simulation Programms in Mine Rescue Education and Training, on the Example of Student Mine Rescue Teams

The Game of Yinsh (Phase II)

Lab 4 VGA Display Snake Game

Full-Time Cup Competitions Version 5.0

Wire Buddy Manual IOpath Software

FEI SportApp for Officials November 2014

P3000 Deadweight Tester Setup, Part 1: Limited Partial Correction Method

System Administration Tasks

BetTurtle User Guide Part 1. By BetTurtle

Navy Guidance and Tips for Using DOEHRS-IH Ventilation NAVY & MARINE CORPS PUBLIC HEALTH CENTER

An atc-induced runway incursion

Assignment #3 Breakout! Due: 12pm on Wednesday, February 6th This assignment should be done individually (not in pairs)

Guided Slides: Flexible Lectures using a Tablet PC

Dive Sheets & Running Events Meet Management Software Tutorial for EZMeet Version 3.1 revised 2/4/2006

It s Our Valley Grade 2 curriculum about the Peace River Valley For more information, visit:

mycricketsupport.cricket.com.au General Tips.. Page 2 Wrong Batsman?.. Page 3 Wrong Bowler?.. Page 4 Editing a current over Page 5

Sport Event Management System (SEMS) Club Entry Guide SLST 2018 Carnivals

σ = force / surface area force act upon In the image above, the surface area would be (Face height) * (Face width).

Troubling Tides Part 1: Rising Seas Activity Sheet

Based on a handout by Eric Roberts

Hunter-Gatherers. Guiding Question: Look at the tools in the picture.

District Registrar Supplement to the LeagueOne User Guide

Steltronic StelPad User Guide

GOLFER. The Golf Putting Robot

DESIGN CODE. Enterprise West Harlow London Road North Design Code 21

COMMON TRAINING INSTRUCTIONAL GUIDE SECTION 3 EO C PRACTICE AIMING TECHNIQUES PREPARATION

Net ball Fun and Games!

'The X' Combination. y Receiving the ball on the half-turn, can the attacker (No.10 in diagram) take 1 touch and shoot?

Repetition Structures

National Horseshoe Pitchers Association

C o d i n g f o r i n t e r a C t i v e d i g i t a l M e d i a

Set Up. Under Desk: Independent Reading Book Humanities Binder. On Desk: History Interactive Notebook Pencil Glue Stick Red Pen Agenda Crayons

Strategy Guide. Game Play. Selecting a Leader. Health

USA Jump Rope Tournament Software User Guide 2014 Edition

ShuttlE. Schools Badminton

Tennis...32 Stay above...34 Decimal...36 Bundesliga simulator...38 Shooter management...41 Installation...43 Registration...45 Where do I get the

Mass Spec will not Autotune

Oceanic Zone. Open ocean past the continental shelf. Water can be very deep. Nutrients are scarce. Fewer organisms live in this zone

English. English. Predictive Multi Gas for

ASABE Robotics Student Design Competition 2011

Technology. Using Bluetooth

Requesting Team Activation

KISSsoft 03/2016 Tutorial 9

EvoBeaker. What makes populations evolve? Software of the Fittest. Student Workbook for. SimBiotic Software TM

Evolution by Natural Selection 1

Enhancing Small Arms Target Engagement. Mike Tombu DRDC Toronto Research Centre

USGA TM Club Premium 1. * Available through an annual subscription.

Application Checklist (Incomplete applications will not considered) Completed application form with two signatures.

Assignment #3 Breakout!

CLUB REGISTRATION & SUPPORT / TICKETING

Beausoleil First Nation Eleven O-Gemaa Miikaan Christian Island, ON L9M 0A Fax:

Built-in Purge Control Functions

Assignment 3: Breakout!

Suggested Recreational Activities

INSTRUCTIONS FOR USING HMS 2016 Scoring (v1)

At t acking Principle: Side and goal line t hrow ins! Coaching Tips. Notes. Warm Up. Beginner - Int ermediat e Personal Coaching Goals: Net ball Court

MM3D C-MAP by Jeppesen FAQ

Basic Tryout Registration Set Up. Using the pre-loaded folder set up from US Soccer Connect

ROAD SAFETY RISK MAPPING USING STRUCTURED DATA

Dangerously bold Featured scientist: Melissa Kjelvik from Michigan State University

ULTIMATE FRISBEE RULES OF ULTIMATE FRISBEE. 1. The Field a rectangular shape with end zones at each end.

2. The phrases on the left in the following box occur in the text. Match each of them with a phrase on the right. (i) an endless stretch of sand

CHALLENGE TRACKER Your roadmap to success

Lab Activity: Evolution by Natural Selection

Step Counting Investigation with Smartphone Sensors

ITF Coaches Education Programme Biomechanics of the return of serve

Addendum to the LeagueOne User Guide for Club Registrars

Bureau of Planning and Research. Project No.: (C14) Phase II Final Report March 2, 2007 CMA

Vision Drills and Games

Name Date Class. What is the probability that Kalvin will get to eat Cocoa Blast on one day?

Technology. Using Bluetooth

Classification of Game Events in Ice Hockey Game Film. Phil Cohn

CAM Final Report John Scheele Advisor: Paul Ohmann I. Introduction

Differentiated Instruction & Understanding By Design Lesson Plan Format

Gas Network Craftsperson

WRO University Regular Category WRO Bowling Game rules

Club s Homepage Use this feature to return the club s website.

Fighting for Life in French Creek

The pluriscout Software allows you to record live game data and keep track of game progress as well as your scouting entries.

Steve Seyler, Sid Menon, C. Randy Breingan, John Li, Santiago Iglesias 6/11/2012

Preparing Questions for Brownstone's Software Formats:

Figure 7-1 Waypoint Info Page

Golden Spiral. A Chaparral grafix tutorial

Advertising North Orange Avenue Sarasota, Florida,

Hazard Training Guide

Transcription:

Assignment 2 Task 2: Application Design By Dr Derek Peacock

Task 2 P6: Use appropriate tools to design a solution to a defined requirement Requirements Summary In this game the player moves a crab around the sand-scape trying to catch and eat worms that live in the sand and pop up from time to time from their burrows in the sand. Each time a worm is eaten the crab s energy levels increases. Each time the crab moves its energy levels decreases. When its energy levels fall below a certain value, the crabs speed of movement decreases. The purpose of the game is to progress to the end of the third level without being eaten by the otter. The otter loves to eat crabs, and searches for them largely using line of sight. It the otter sees a crab it will give chase. The crab s only defence is to hide behind rocks, until the otter is distracted and loses interest. The crab successfully completes a level if it eats all the worms in that level before being caught by the otter. The quicker the crab eats the worms, the higher the score. If the crab is eaten, it can be re-generated three times per level, but its score is decreased each time it is eaten. Hardware Platforms It is planned that this game shall run on Android platforms on tablets with a minimum resolution of 1200 x 800 pixels. Use Case Diagram Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 2 of 7

Use Case Specifications Eat Crab Use Case Use Case Name: Eat Crab Author Derek Peacock Description: Pre-conditions When the Otter touches the crab, the crab is eaten and the player has lives left the crab is re-generated and the level re-starts. If there are no lives left, the game ends. The otter touches the crab Post-conditions The level re-starts or the game ends Normal Events The score is reduced If crab has more lives Lives are decreased by 1 All points gained in that level are lost The level is re-started Alternative Events If crab has no more lives the game ends Screen Layout Actors objects are approximately 60 x 60 pixels, the GameWorld is 1200 x 800 pixels. Missing score board! Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 3 of 7

Order Meal Use Case Use Case Name: Order Meal Author Derek Peacock Description: Pre-conditions Post-conditions The customer selects one of the pizzas from the menu and indicates their preferences. The table number has been recorded The chosen starters and mains have been recorded for one customer Normal Events The waiter enters the customers selected starter The waiter makes a note of any variations The waiter enters the customer s selected main course If a appropriate meat course the waiter asks for the cooking instructions Rare Medium Well done The waiter notes any customer variations Alternative Events Screen Layout Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 4 of 7

Class Diagram M2: Justify the choice of data types and software structures used in a design solution Data Types Class Attribute Max range of Justification Values in the game Crab energy: int 0..100 lives: int 0..3 scorel: int 0..20,000 In java there are no data types for large whole numbers that are only positive in value. So int with a range of values -- 2,147,483,648.. 2,147,483,647 is the best choice. SandWorld level: int 1..3 Worm Visible: boolean Yes or no Software Structures The Greenfoot system offers two basic classes which together can be sued to form a simple 2D game, the World class and the Actor class. The purpose of the World class is to provide a background and container for many instances (objects) of the Actor class. An Actor is a class that does something in the game, and usually but not always moves around the world. The SandWord class is needed to Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 5 of 7

The Otter Class is needed to The Crab Class is needed to The Worm Class is needed to The Rock Class is needed to Sequence Diagram Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 6 of 7

D2 Develop algorithms to represent a design solution algorithms eg using pseudo code The Otter is going to hunt crabs by line of sight. The Otter s vision is quite good, and the otter can see to a distance around 60% of world width. However if the Scot the Crab is behind a rock then the Otter will not be able to see the Scot. Moving the Otter will be based on checking along a direct line between the otter s position and the crab s position. If there are no rocks in between then the otter will move directly towards the crab, otherwise the otter will move in one of four directions at random. Assessment 2: Application Design Derek Peacock 11-Dec-2014 Page 7 of 7