Coder Social home page Coder Social logo

carrom-game-2d's Introduction

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.

carrom-game-2d's People

Contributors

tarun018 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.