BET (BILLIARDS
ENIGMATIC TOOLKIT)
Project Members:
1. Sandeep Singh Chadha(sschadha@iitk.ac.in)
2.
Priyadarshi Panda(pdpanda@iitk.ac.in)
3. Priyanka Singh
(spriya@iitk.ac.in)
OBJECTIVE
- The objective of this project is to make a two user billiards game with
extensive application of laws of physics.
- The game provides a graphical billiards table window with three balls and
a cue and actual billiards ball simulation.
RULES OF THE GAME
- The first player places the white ball on a black dot on the table and the
red ball is placed inside a semi circular region.
- He has to hit the white ball always.The white one is his now.
- When the second player gets his chance,he places the yellow ball on the
table on the black dot and now all three balls are in play.
- The second player can hit the yellow ball only with his cue.Its his his
ball now.
POINTS SYSTEM
- If the player manages to put the red ball in the hole,he gets 2
points.This is called a pocket.
- If the player's ball hits the other two balls successively ,he gets 3
points.Called a Cannon.
- If the player's ball pods the other player's ball,he gets 1 point.But the
2nd player takes away his ball from the table until its his chance.
- If the player pods his own ball touching any other other ball in the
way,he gets 1 point and he again places his ball on the black dot.
- In all other cases,the player gets no points and its the other player's
turn.
SAMPLE INPUT AND OUTPUT
- The player moves the cue and hits the ball with a particular velocity in a
particular direction.The window will show the movement of the ball and the
collision with other balls.
PHYSICS BEHIND THE GAME:
- Conservation of linear momentum,conservation of kinetic energy during
collision:
- mu1+mu2=mv1+mv2
- (1/2)mu1*u1 +(1/2)mu2*u2=(1/2)mv1*v1 +(1/2)mv2*v2
- Laws of reflection when the balls strike the boundaries:Angle of
incidence=Angle of reflection.
- v=w*r where v is linear velocity of the ball,w is its angular velocity,r
is its radius.
- v=v(0)-a*t
- w=w(0)-a*t/r
- a=frictional force/mass
HOME PAGES OF PROJECT GROUP MEMBERS
SANDEEP SINGH
CHADHA
PRIYADARSHI PANDA
PRIYANKA
SINGH