Skip to content

hanstef/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong

A simple pong game that I created with OpenGL in C. Pong

Controls

Esc: Close the game
Return: Start a new game
W/S: Move left paddle up and down
Arrow-Keys: Move right paddle up and down

Compiling and running the game

Mac

You might need to install the following libaries:

brew install libpng zlib harfbuzz brotli 

After that you should be able to run the game:

make mac #compile the game
build/pong #run the game

Windows

If you have already installed make and mingw you can just compile and run the program like this:

make windows
build\pong.exe

Otherwise you have to install those first. I recommend using Chocolatey:

choco install mingw
choco install make

About

Implementation of Pong using OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages