Skip to content

rxxbyy/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

C Pong

A simple pong game written in C using raylib library.

Test it out

To play the game, you must have installed raylib library in your computer with GNU/Linux (i don't know if the game works on another system, i only tested it on Linux). Check the raylib documentation at https://www.raylib.com/ for C.

Once you have raylib set up. Just do

git clone https://github.com/rxxbyy/pong
cd ./pong

then run the simplest possible build command that gives raylib and run the game

gcc -o pong pong.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
./pong

NOTE: vertical player's collisions doesn't works too good

About

A simple pong game written in C using raylib library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages