With Mario! Test Plan Advanced Topics. Mario Basic States Small Mario Big Mario Fire Mario Starman Mario.

Slides:



Advertisements
Similar presentations
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Advertisements

Speed-A-Way Kevin Smith HPE-324. History Speed-A-Way is a code of football, which was devised by combining elements of American Football, Soccer, and.
Difficult Calls Illegal Attacks Illegal Blocks Over the Net Ed Vesely, Illinois, and Rick Brown, Ohio 7//2007.
Baseball Rules Questions
Umpire Test questions One out, runners at 2 nd and 3 rd. Batter hits a grounder to 3 rd baseman, who gets R3 in a rundown between home and 3 rd.
Throw Pillow Instructions 1) Cut fabric so that you have TWO 15x15 squares. Be as precise as possible with your measuring and cutting. 2) Iron your squares.
1 Introduction Sequential circuit –Output depends not just on present inputs (as in combinational circuit), but on past sequence of inputs Stores bits,
Muggle Quidditch.
Game Evaluation Super Mario Brothers Bob Pasco CIS 487 9/23/2007.
Welcome to Jeopardy! Warning! (…) takes off 50 points! Some answers don’t have (…)! The Topic For Today Is…
Mario’s Enemies By: Neilson Henderson Enemies Mario Faces.
Timmy the Astronaut stands at the edge of a Lunar cliff with two similar rubber balls. He throws the blue one upwards and the red one downwards, but throws.
1 AMA Precision Aerobatics JUDGES TRAINING PRESENTATION Effective 2011 AMA Precision Aerobatics JUDGES TRAINING PRESENTATION Effective 2011.
Momentum & Collisions. Ball Bounce Which ball experiences the greatest change in its momentum (both have equal mass)? Green one Red one Both have the.
Event P is shown by a small x. At what time (in the primed frame) does P occur? A] at ct’=1 B] at ct’=2 C] at ct’=3 D] at ct’=4.
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
European Handball.
P-value method dependent samples. A group of friends wants to compare two energy drinks. They agree to meet on consecutive Saturdays to run a mile. One.
8-1 Relations and Functions. RELATIONS Relation: A set of ordered pairs. Domain: The x values of the ordered pairs. Also known as the input value. Range:
Co-Rec Dodge Ball Rules. Managers Responsibilities The managers are responsible for the conduct of his/her team. Unsportsmanlike conduct will not be permitted.
Lets see how much you really know about the rules of baseball?
CIS 270—Application Development II Chapter 13—Exception Handling.
Difficulty. Basic Jump With arms in the open position, the athlete jumps up and spins the rope around their body and under their feet once The basic jump.
TEAM HAND BALL.
AND HAVE fun!!!. Aim: To score the most goals Number of Players: 7 including a Goal keeper Scoring: A goal is scored when the ball enters the goal Commencing.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
Learning Game Maker Studio:
Circuits and Lightning By Alyssa Shoultes. This small piece will explain how lightning is formed and how a ground works.
Checking for Collisions: Alternative Method Erin Taylor Under the Direction of Susan Rodger July 2015 Duke University.
Hollí hú.  The participants stand side by side except one (the leading person) who stands infront of the group and is holding a small ball. He needs.
CS 4730 Action vs. Interaction CS 4730 – Computer Game Design Credit: Several slides from Walker White (Cornell)
Things that you should consider for Gameplay Game Design Vishnu Kotrajaras, Ph.D. Later parts are from Jesse Schell’s slides.
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
Java Threads. What is a Thread? A thread can be loosely defined as a separate stream of execution that takes place simultaneously with and independently.
Project 6 Tumbling Cube Fri, Nov 21, 2003 Due Mon, Dec 8, 2003.
IB Physics 12 Mr. Jean September 11 th, The plan: Video clip of the day Momentum Ballistic Pendulums Bouncing collisions.
Motion The symbol “Δ” means “Change in” QuantitySymbolDefinitionUnitsQuantitySymbolDefinitionUnit DistancedmDisplacementdm Speedvd/Δtm/sVelocityvd/Δtm/s.
Summary of the Moves of Chess
Please see this weeks session overleaf; which looks at some ways to help your players develop their fitness in a functional, football predominant fashion.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 7: Coordinate System.
Refereeing is Thinking 9/3/ Why are we here? To learn practical techniques… To manage the older players’ game… For maximum safety and enjoyment!
Lesson 2: Reading a program. Remember: from yesterday We learned about… Precise language is needed to program Actors and Classes Methods – step by step.
Using Scientific Notation with the Calculator
Forces, The laws of Motion & Momentum.
Pre-Calculus - Section 4.5 INVERSE FUNCTIONS. WARM-UP.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Solving Equations and Formulas Chapter 2 section 6.
Introduction to Exceptions in Java CS201, SW Development Methods.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Cascading Style Sheets Layout
History and Objective Joel Silver proposed a school Frisbee team on a whim in the fall of The following spring, a group of students got together.
Background Shapes & Collision Resolution (Top-down and Side-scrolling)
Gridding BIG Paper One square at a time….
Principles of a Grid Reference
Projectile motion.
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Platformer Java Guide by Mr. Monroe.
Impulse-Momentum.
6.00 The batter John watson.
2D Collision Response For CSE 3902 By: Matt Boggus.
Math-2 Honors Matrix Gaussian Elimination
Basic Rules of Sailboat Sailing
Technical Assistance by Gloria Cox
Umpire Training Questions
Slope Grade 7 Math AF 3.3.
Conservation Laws Conservation of Momentum I
Position in Scratch.
Presentation transcript:

With Mario! Test Plan Advanced Topics

Mario Basic States Small Mario Big Mario Fire Mario Starman Mario

Mario Basic Moves Run Jump Throw Fireballs And Combinations: Run + Jump + Throw Fireballs Run + Jump Etc.

Objects in Mario Goombas Question Blocks Power Ups (Starman, Fireflower, Mushroom) Terrain (Ground, Pits, Pipes) List goes on!

Testing One Aspect Mario vs Goomba Collision Test each of Mario’s states Test each of Mario’s moves How can Mario interact with a Goomba?

Collision with Goomba as Small Mario CaseInputExpected Output Collide with the left side of a Goomba as Small Mario. Move to the right towards Goomba. Mario loses a life. Collide with the right side of a Goomba as Small Mario. Move to the left towards Goomba. Mario loses a life. Collide with the bottom of a Goomba as Small Mario. Stand under a falling Goomba. Mario loses a life. Collide with the top of a Goomba as Small Mario. Jump on top of a Goomba.Goomba is flattened.

Collision with Goomba as Big Mario CaseInputExpected Output Collide with the left side of a Goomba as Big Mario. Move to the right towards Goomba. Mario shrinks. Collide with the right side of a Goomba as Big Mario. Move to the left towards Goomba. Mario shrinks. Collide with the bottom of a Goomba as Big Mario. Stand under a falling Goomba. Mario shrinks. Collide with the top of a Goomba as Big Mario. Jump on top of a Goomba.Goomba is flattened.

Collision with Goomba as Fire Mario CaseInputExpected Output Collide with the left side of a Goomba as Fire Mario. Move to the right towards Goomba. Mario shrinks. Collide with the right side of a Goomba as Fire Mario. Move to the left towards Goomba. Mario shrinks. Collide with the bottom of a Goomba as Fire Mario. Stand under a falling Goomba. Mario shrinks. Collide with the top of a Goomba as Fire Mario. Jump on top of a Goomba.Goomba is flattened.

Eliminating Redundant Tests Two possible Normal results for hitting a Goomba:

Mario State Penalties CaseInputExpected Output Small Mario loses a lifeExperience Penalty Interaction with an enemy while Small Mario Mario loses a life Big Mario ShrinksExperience Penalty Interaction with an enemy while Big Mario Mario shrinks. Fire Mario ShrinksExperience Penalty Interaction with an enemy while Fire Mario Mario shrinks.

Collision with Goomba (Generalized) CaseInputExpected Output Collide with the left side of a Goomba. Move to the right towards Goomba. Mario experiences Penalty Interaction. Collide with the right side of a Goomba. Move to the left towards Goomba. Mario experiences Penalty Interaction. Collide with the bottom of a Goomba. Stand under a falling Goomba. Mario experiences Penalty Interaction. Collide with the top of a Goomba. Jump on top of a Goomba.Mario experiences Reward Interaction with Goomba.

Safe Assumption? If Penalty Interaction is independent of the source, yes! Good coding will make this a good assumption. Makes it easier to introduce additional elements, such as new enemies.

Introducing New Enemies What about the Piranha Plant?

Collision With Piranha Plant CaseInputExpected Output Collide with the left side of a Piranha Plant. Move to the right towards Piranha Plant. Mario experiences Penalty Interaction. Collide with the right side of a Piranha Plant. Move to the left towards Piranha Plant. Mario experiences Penalty Interaction. Collide with the bottom of a Piranha Plant. Glitch through the pipe.Mario experiences Penalty Interaction. Collide with the top of a Piranha Plant. Jump on top of a Piranha Plant. Mario experiences Penalty Interaction.

Collision With Piranha Plant CaseInputExpected Output Collide with the left side of a Piranha Plant. Move to the right towards Piranha Plant. Mario experiences Penalty Interaction. Collide with the right side of a Piranha Plant. Move to the left towards Piranha Plant. Mario experiences Penalty Interaction. Collide with the bottom of a Piranha Plant? Glitch through the pipe? Mario experiences Penalty Interaction? Collide with the top of a Piranha Plant. Jump on top of a Piranha Plant. Mario experiences Penalty Interaction.

Error Cases Stuff that shouldn’t happen, but could (likely glitches). Stuff that we know will cause runtime errors and can happen.

Test for Every Glitch? Time consuming. Not really possible. We don’t try to include glitches!

Test for Likely Glitches Most Mario enemies can be touched from any of four sides. Piranha Plants should only be touched from three sides, since the bottom is attached to a pipe. Should still test that fourth quadrant, as an error case, since this is an exception to the rule.

Boundary Cases The razor’s edge between two states.

Boundary Cases are Precise Exact Point which is the difference between one state (Stomp a Goomba) and another (Lose a Life). Need Precise Values (Exact x,y coordinates)

Collision with Goomba (Boundaries) CaseInputExpected Output Collide with Goomba at top- left corner, 1 pixel to the right. Jump on top of Goomba and land precisely 1 pixel into the Reward Zone. Mario experiences Reward Interaction with Goomba. Collide with Goomba at top- left corner, 1 pixel to the left. Jump on top of Goomba and land precisely 1 pixel left of the Reward Zone. Mario experiences Penalty Interaction. Collide with Goomba at top- left corner exactly. Jump on top of Goomba and land precisely at the 0 axis between Reward and Penalty Zones. Mario experiences Penalty Interaction. Because the 80’s were unforgiving.

Review: Types of Test Cases Normal Cases Test the normal states and interactions of objects. Error Cases Test known bugs and the effects of likely glitches. Boundary Cases Test the boundaries between normal states. Also test boundaries from normal to error states.

What types of cases are these? CaseInputExpected Output Collide with Goomba while in Starman state. Run into Goomba while Mario has Star Power. Mario experiences Reward Interaction with Goomba. Collide with Goomba and Star simultaneously. Run into Goomba that is overlapped by Star. Mario experiences Penalty Interaction. Collide with Star.Run into Star.Mario’s state switches to Starman for 10 seconds. Collide with Goomba immediately after a Star. Run into Star, then proceed to the right 1 pixel and run into Goomba. Mario experiences Reward Interaction with Goomba. Collide with Goomba exactly 10 seconds after colliding with a Star. Run into Star, then touch a Goomba from the left side exactly 10 seconds later. Mario experiences Penalty Interaction. Collide with the top of pipe at the bottom left corner. Run to the right and jump into the pipe from the left. Mario passes through the pipe partially and gets stuck.

Questions? your professor!!