8000 GitHub - aniketisin/Carrom-Game
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aniketisin/Carrom-Game

Folders and files

NameName
A4F1 Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RULES & SCORING

1. You are supposed to pocket all coins of one color and the queen.
   Which color is decided by which color you pocket first.

2. You will get 10 points for every coin of your color that you pocket and -5 for the other color or striker.
   If you successfully pocket the queen you will get 50.
   For every second spent in your turn, your score will decrease by 1.

4. There is a max and min power and angle with which you can hit the striker.

5. The striker is Blue in color. If there happens to be a coin on the line of play and the striker overlaps with it, the color of the striker will change to red and you will not be able to hit it.

6. Once you finish your game, there will be a screen with the text "Game Over" and your final score will be displayed.

7. There is a replay functionality provided one can view the replay of previous move by pressing 'r' key.

8. Press 'Esc' key to close the game.

MOVES

	MOUSE    - Move Mose around to set the angle of strike hold left mouse key to set the power and release to strike.
	KEYBOARD - Use "a" and "s" keys to move the striker
		   you can also use 'Left' and 'Right' keys to rotate direction of striker. 
		   'r' key to view replay
	The power and direction will be displayed on the screen in a meter.


COMPILATION
The Game is written in C++, using OpenGL. The game is compiled for running in Linux and Mac OS.
For compilation, files __Header__.h, Coin.h Board.h and carrom.cpp are needed
Executable is made via make command, compilation params are specified in the MakeFile (just type 'make')
To start the game just run "./carrom" in the directory

Enjoy the Game :D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0