[PR #1475] [CLOSED] Add Pong Game in C to /games #2074

Open
opened 2026-01-29 15:28:27 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1475
Author: @tadeyemo32
Created: 6/23/2025
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • eeff174 Add Pong game to games directory
  • 1ffb9d9 Add Pong game with full cross-platform support and README

📊 Changes

6 files changed (+239 additions, -0 deletions)

View changed files

games/pong/.DS_Store (+0 -0)
games/pong/Makefile (+25 -0)
games/pong/README.md (+23 -0)
games/pong/assets/button.wav (+0 -0)
games/pong/game (+0 -0)
games/pong/main.c (+191 -0)

📄 Description

Description of Change

Added a simple Pong game implemented in C using the Raylib graphics library.
The game is placed in the /games/pong/ directory and includes:

  • Cross-platform Makefile (macOS, Linux, Windows)
  • A comprehensive README.md with build steps
  • Full game source code (main.c)

References

N/A

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass (Game-based projects don’t use unit tests, so this may not apply)
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate
  • I acknowledge that all my contributions will be made under the project's license

Notes:
This game demonstrates practical use of C in graphics, event handling, and game loop logic.
Although not a traditional algorithm, it can serve as an educational example under the /games directory.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1475 **Author:** [@tadeyemo32](https://github.com/tadeyemo32) **Created:** 6/23/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`eeff174`](https://github.com/TheAlgorithms/C/commit/eeff174b6a4f9a08c2972b59b160b2b2dc2c552d) Add Pong game to games directory - [`1ffb9d9`](https://github.com/TheAlgorithms/C/commit/1ffb9d90f4b9e1524f2a25a928c19966f21c28eb) Add Pong game with full cross-platform support and README ### 📊 Changes **6 files changed** (+239 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `games/pong/.DS_Store` (+0 -0) ➕ `games/pong/Makefile` (+25 -0) ➕ `games/pong/README.md` (+23 -0) ➕ `games/pong/assets/button.wav` (+0 -0) ➕ `games/pong/game` (+0 -0) ➕ `games/pong/main.c` (+191 -0) </details> ### 📄 Description #### Description of Change Added a simple Pong game implemented in C using the Raylib graphics library. The game is placed in the `/games/pong/` directory and includes: - Cross-platform `Makefile` (macOS, Linux, Windows) - A comprehensive `README.md` with build steps - Full game source code (`main.c`) #### References N/A #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass *(Game-based projects don’t use unit tests, so this may not apply)* - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate - [x] I acknowledge that all my contributions will be made under the project's license --- **Notes:** This game demonstrates practical use of C in graphics, event handling, and game loop logic. Although not a traditional algorithm, it can serve as an educational example under the `/games` directory. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:28:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2074