GitXplorerGitXplorer
c

PingPongOpenGL

public
1 stars
4 forks
0 issues

Commits

List of commits on branch master.
Unverified
441a797d213c7ef6d973e608b12866ef25a42ff3

generatelines.coo

cchirathr committed 7 years ago
Unverified
1221b22bbdbdf5cb97ec0158b0271c7d12f8a1da

readme

cchirathr committed 7 years ago
Unverified
dbf3de0e4730d79a4beda0a7d6b68f36296e5b5f

comments

cchirathr committed 7 years ago
Unverified
59a50f282b969750d2e19dd44ee66b77a3805b88

comments

cchirathr committed 7 years ago
Unverified
2eb42a908a2f9d46c27793657abd400320485a17

reset on middle click

cchirathr committed 7 years ago
Unverified
65915a3f79ad9046390a810f900e94235f023a35

vr 0.1

cchirathr committed 7 years ago

README

The README file for this repository.

Ping Pong

A simple ping pong game using opengl library and glut. The game starts on left mouse click, and stops on middle mouse click Player 1 can control the game using the keys q and a. Player 2 can control the game using the keys o and l.

Run using the commands

$ gcc pingPong.c  -lm -lglut -lGL -lGLU

controls

Player 1

  • Up : q
  • Down : a

Player 2

  • Up : o
  • Down : l

Start game

  • Starts the game

Restart game

  • middle button to reset the ball, paddle and score