https://github.com/foxbinner/traping
TraPing is a 2D game developed in C++ using the SFML graphics library. It combines gameplay elements from both Ping Pong and Pac-Man.
https://github.com/foxbinner/traping
cplusplus game-development pacman pingpong visual-studio
Last synced: 8 months ago
JSON representation
TraPing is a 2D game developed in C++ using the SFML graphics library. It combines gameplay elements from both Ping Pong and Pac-Man.
- Host: GitHub
- URL: https://github.com/foxbinner/traping
- Owner: foxbinner
- License: mit
- Created: 2025-02-14T15:08:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-14T15:09:04.000Z (over 1 year ago)
- Last Synced: 2025-05-21T15:54:43.345Z (about 1 year ago)
- Topics: cplusplus, game-development, pacman, pingpong, visual-studio
- Language: C++
- Homepage:
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# TraPing - A Combinational Game
A **Pac-Man & PingPong inspired game** where you control a character
through a maze, collecting dots and strawberries π, while **avoiding enemy ghosts**.
The goal is to **clear the maze** and score as much points as possible.
[![Made With JavaScript][made_with_js]][forthebadge_url]
[![Built With Love][built_with_love]][forthebadge_url]
If you **like this project** and find it useful, please give it a π star!
βοΈ It really motivates me to make more **new things** even better. βοΈ

## π Setup Guide
[![SFML][sfml_version_img]][sfml_download_directory]
[![Issues][repo_issues_img]][repo_issues_url]
[![License][repo_license_img]][repo_license_url]
- **Installation:**
- Visual Studio: https://visualstudio.microsoft.com/vs/ ```2022```
- Workload: Desktop development with C++
- SFML: https://www.sfml-dev.org/download/sfml/2.5.1 ```2.5.1```
- Guide -> [YouTube](https://www.youtube.com/watch?v=pgvlJ-Zr9Ys)
- **Clean & Build with Debug x64:**
- In your first build, you might encounter some errorsβno worries! Simply copy all .dll files from the SFML ```bin``` directory into your project's ```x64/Debug``` and ```TraPing/Debug``` folders.
- Then, navigate to your project folder and re-run the projectβthe game should now launch successfully!
## π User Manual
- **Movement:** Use the arrow keys (ββββ) to control your character.
- **Pause:** Press the P key to pause the game.
- **Mute:** Press the M key to mute/unmute sound.
- **Exit:** Press the ESC key to exit the game & so much more.
## π― Gameplay
When you start the game, you will:
See a maze with dots, strawberries, and ghosts. Move your character to collect dots to score points. Collect strawberries π to temporarily invisible, avoid being touched by the ghosts. Clear the maze to proceed to the next level.
## π§© Explanation

The gameplay and code explanation are available on YouTube.
Check it out here -> [YouTube](https://www.youtube.com/watch?v=CYP4f9wl17M)
## π© Contribution and Collaboration
If you encounter any problems or have suggestions, please don't hesitate to report them in the repository's [issues][repo_issues_url]. We welcome contributions of any kind! Whether it's reporting an issue or submitting a pull request after forking the repository, your input is appreciated. Let's make this project better together! π
## π Credits
This project was guided and supervised by:
π§βπ« Dr. Kazi Masudul Alam
Professor
CSE Discipline, Khulna University
Site: https://ku.ac.bd/discipline/cse/faculty/kazi
π§βπ« Dr. Amit Kumar Mondal
Associate Professor
CSE Discipline, Khulna University
Site: https://ku.ac.bd/discipline/cse/faculty/amit
Collaborated with:
π§βπ Imran Rahman Ifty
BSc.
CSE Discipline, Khulna University
Site: https://github.com/Imran-Ifty
## π License
This game is open-sourced project licensed under the [MIT license][repo_license_url].
[made_with_js]: https://forthebadge.com/images/badges/made-with-c-plus-plus.svg
[built_with_love]: http://forthebadge.com/images/badges/built-with-love.svg
[forthebadge_url]: http://forthebadge.com
[repo_url]: https://github.com/foxbinner/TraPing
[repo_license_url]: https://github.com/foxbinner/TraPing/blob/main/LICENSE
[repo_license_img]: https://img.shields.io/badge/license-MIT-red
[repo_issues_url]: https://github.com/foxbinner/TraPing/issues
[repo_issues_img]: https://img.shields.io/badge/feedback-open-green
[sfml_version_img]: https://img.shields.io/badge/SFML-2.5.1-blue
[sfml_download_directory]: https://www.sfml-dev.org/download/sfml/2.5.1