Raycong is a simple pong game made using the C programming language with the help of Raylib library.
Raycong is my first C project after learning C programming in my first semester of college.
I followed this YouTube tutorial while developing this project. In the tutorial, the language used is C++ but I have used C in this game.
I have used 'structs' instead of classes and have made use of functions with pointers to achieve the same results as using functions inside of classes in C++ as done in the tutorial.
If you just wanna play the game, you can download only the main.exe
file and run it. The controls are ↑
and ↓
(or w
and s
) to move up and down respectively.
To setup this project locally on your windows machine:
- Install Raylib using one of their binary releases on GitHub.
- Install VScode.
- Clone or download this repository and open the Raycong folder in VScode (or alternatively, just open the
main.code-workspace
file). - Open the
main.c
file and pressF5
orFn + F5
to build the project. - You're ready to make your own changes to the project!
Feel free to report any bugs by opening an issue. Also, if you'd like to contribute, I would recommend forking the project or if it's a minor bugfix/issue, a pull request would be welcome.
If you'd like to reach out to me personally, kindly send me an email or DM/tag me over on Mastodon.