This is a 2D game for Carrom using OpenGL.
Clone or download
Latest commit 1dabc18 May 10, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ass1.exe All files Jan 30, 2015
Assignment1.pdf Project Description Jan 30, 2015
Board.cpp All files Jan 30, 2015
Board.h All files Jan 30, 2015
Coin.cpp All files Jan 30, 2015
Coin.h All files Jan 30, 2015
Makefile All files Jan 30, 2015
Player.cpp All files Jan 30, 2015
Player.h All files Jan 30, 2015
README.md Update README.md May 10, 2015
Striker.cpp All files Jan 30, 2015
Striker.h All files Jan 30, 2015
glut32.dll All files Jan 30, 2015
help.pdf All files Jan 30, 2015
main.cpp All files Jan 30, 2015

README.md

Carrom-Game-2D

This is a 2D game for Carrom using OpenGL.

CONTROLS:

● Striker Movement ­ Left / Right via:  
	○ Keyboard: LEFT ARROW KEY / RIGHT ARROW KEY 
	○ Mouse: RIGHT MOUSE CLICK DRAG LEFT / RIGHT 
 
● Hover Movement ­ Left / Right via: 
	○ Keyboard: a / c 
	○ Mouse: LEFT MOUSE CLICK DRAG LEFT / RIGHT 
 
● Striker Shoot via: 
	○ Keyboard: Space BAR 
	○ Mouse: LEFT MOUSE CLICK LOOSE 
 
● Power Bar Movement ­ Up / Down via: 
	○ Keyboard: UP ARROW KEY / DOWN ARROW KEY 
	○ Mouse: DRAG MIDDLE KEY UP / DOWN 

RULES:

● Initially game starts with 30 points. 
● Player gets 10 points for the coin pocketed of his chosen colour. 
● Player loses 5 points for coin pocketed of opposite colour. 
● Player loses 5 points for pocketing of striker. 
● Player loses 1 point per second till he strikes. 
● Player gets 50 points for pocketing red coin. 
● When all coins of the chosen colour is pocketed and red coin is 
pocketed, the game is ended. 
● All the coins which are pocketed are shown on the dock. This dock 
shows all coins which are pocketed in the order of the time of their  
pocketing.  

INSTRUCTIONS:

● Player selects colour of the coin which he wishes to score. 
● Player then can move the striker left or right. 
● Player then directs the striker (where he wants to hit) by changing 
the direction of the hover.  
● Player then increase/decrease the power in the power bar. 
● Player then shoots the striker.