
As a way to learn C programming, a friend and I collaborated on the development of a straightforward Pong game using SDL2.
This project involves the utilization of UDP sockets to manage all networking functionalities.
đ Get Started
To get started with your own version of Pong, simply clone the repository and follow the setup instructions below.
đ Features
- đŽ Multiplayer Pong gameplay
- đĨī¸ Developed in C
- đšī¸ Uses the SDL library for graphics
- đ Network communication over UDP sockets
đ Installation and Setup
Ensure you have the necessary development environment set up with SDL and UDP support. Clone the repository and follow the instructions to build and run the server and client.
Server (default port 6969)
./pong
Client
./pong -c <server_address>
đģ Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
./pong | Starts the Pong server |
./pong -c | Connects to a Pong server as a client |