MATLAB Lab. 7 2011.04.18. Simulating Billiard Game Modify hitball.m and myball.m to simulate 3-cushion billiard game. Rules: –two players –three balls.

Slides:



Advertisements
Similar presentations
Mediated Space Prototypes for Interactive Projection Location: Barcade, Brooklyn By Joana Kelly, Julia Valera, Carol Chiu.
Advertisements

My Favorite Hobby is Football
R.T.Ambekar P.E.T.JNV Solapur HISTORY OF TABLE TENNIS Table tennis is a game of very recent origin it is started as variation of Lawn Tennis and was.
White No:10 is going for a fast break and defensive player Yellow No:10 is directly going towards him without any aim for the ball…
Applying a Force.
Monkey-drop demo. Shooter-dropper vovo vovo.
Fleetball.
Rules Modified for Hilltop High School Physical Education Dr. Butler April 2013 Over The Line.
Using the On-line Dice-Based Golf Game GOLO to Illustrate Probability by John Gabrosek & Paul Stephenson Grand Valley State University Department of Statistics.
MMA2 final project Steven Hunneman & Peter Fekkes BILLIARDS : A real-world example in a virtual environment.
Impulse Elastic Collisions 1 Conservation Collisions.
Check it out! : Simple Random Sampling. Players of a dice game roll five dice and earn points according to the combinations of numbers they roll.
By: Lara Matic 8C. It came from China about 3000 years ago. It was in England (in 1863) that football actually started to take place and become a sport.
Title. Rules for Soccer Choose a team captain. This person will be responsible for giving the final answer for your team. Choose a team name (make it.
PING PONG (Table Tennis)
The Physics of Cue Sports
TABLE TENNIS BY GEORGIA BUTT. RULES 1.You cant touch the table with your hands 2.To win you have to get 11 points 3.A point is scored when When the ball.
Experimental Probability of Simple Events
PING PONG (Table Tennis)
Soccer.
Tennis By: Brandon Eng What is Tennis? Tennis is a fun and competitive game where 2-4 people hit the ball back and forth to each other.
Investigation #1 Factors and Products.
Jonny’s Tips On How To Play Football! From A Midfielders Prospective!
Football (Soccer) YingHinTung Louis (B3). Table Of Content Introduction The History of Soccer The Rules of Soccer Football Field Special vocabulary &
How to Play Soccer By Aydan Soo-Hoo.
Principles of intelligent systems -DG 215- Nikos Kompotis Nic Minns
Created By: Vilius Vysniauskas June 7 th, 2012 GITA 3.
{ Lithium Iron.  The game LiFe, is shaped in a spiral, it is a game that includes all the elements, it includes all the elements in the Periodic Table.
 Write these words in your notebook: Stamp Camp Like Lost Run Late  Now, write how many sounds you hear in the word, next to the word. For example,
10-3 Use a Simulation Course 3 Warm Up Warm Up Problem of the Day Problem of the Day Lesson Presentation Lesson Presentation.
 First one of the teams starts serving with the featherball  The game is about scoring in the other teams goal, so therefore the team have to cooperate.
TV Pool App Description File Version 3.0 Submission Date12/08/Y2015 App Ver App Developer.*************************
 F = Δp/t  Δp = Ft  Impulse is defined as the force times the time over which the force acts  Impulse = Ft = Δp  In order to change the momentum.
If you would like to play „ T he K ing” you must have: a ball, a big wall and two or more p layers.
STARS By: Braeden. INTRODUCTION  How a star is made.  Looking for stars.  Temperature  Fun Facts.
Boccia.
ME115 Final Project Ali Javidan CSUS Spring 2003,Granda.
How many students are there? There are 3 students. Let’s count!
DO NOW CLEAN UP EVERYBODY EVERYWHERE CLEAN UP EVERYBODY DO YOUR SHARE.
NFHS Rule Definitions: c.Block – the action of a player(s) close to the net that deflects the ball coming from the opponent by reaching higher than.
A die is rolled. What is the probability that the number showing is odd? Select the correct answer
1.Understand the object of the game. The object of the game is to score more goals than the opponent scores. A goal is scored when any part of the ball.
Team Sport: Football. 1. Fouling an opponent: Stopping an opponent illegally. Making contact with the opponent without touching the ball or being aggressive.
TABLE TENNIS Springboro Junior High. HOW DO YOU PLAY? of-Table-Tennis-Ping-Pong-EXPLAINED.
Kickball.
Jesus loves the little children, All the children of the world. Red and yellow, black and white, They are precious in his sight; Jesus loves the little.
The Rules of Tennis. Rule #1 Opponents stand on opposite side of the court. The server is the person who delivers the ball. The other person who stands.
SOFTBALL Softball looks like Rounders but the rules are different. It is played on a DIAMOND with CONES at each corner. Base 1 Base 2 Base 3 Homebase.
Vikram Krishnamurthy GT ID: Cue Club 2.
Historical & Cultural References. Snooker  Snooker is played on a large green cloth-covered table with pockets in each of the four corners and in the.
Ping Pong.
By Victoria Israël and Daphnée Labrecque
BILLIARDS THERE’S MORE TO IT THAN YOU THINK… A PowerPoint Presentation
3D Free Billiards Snooker Pool_v1.1.8 APK FULL VERSION
Conservation Collisions.
Rugby Information and Rules.
Simple Experimental Probability
--Jia Ming Simon Ma CMPS 162
By: Miss Kelsey.
The One Where You Scratch

Move in Two’s From the card Pass between two’s. T T

LAW 16 – THE GOAL KICK Online Training Script:
Tag, Handball + Headers & Receiving the Ball
Short Passing Technique Practice 1.2 teams of 5
Switching Play Technique Practice
Structure diagrams for lab 13
The Strategic Game of Links
Conservation Collisions.
Presentation transcript:

MATLAB Lab

Simulating Billiard Game Modify hitball.m and myball.m to simulate 3-cushion billiard game. Rules: –two players –three balls (red, white, yellow) –for each turn, a player hits white or yellow ball. If one gets a point, he (she) keeps his turn. –to get a point, the cue ball should contact the cushions of the table at least three times before first touching the second object ball. Specifications –each player can specify the initial direction and the velocity of the cue ball. –counting the score for each players. –you may consider the spin of the ball for more fun!! 2

hitball.m 3

myball.m 4