An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

logo

# 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. ↙️

![TraPing](https://i.postimg.cc/tCcf34gT/traping.gif)

## πŸš€ 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
![YouTube Video Views](https://img.shields.io/youtube/views/CYP4f9wl17M)

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. Kazi Masudul Alam





πŸ§‘β€πŸ« Dr. Amit Kumar Mondal
Associate Professor

CSE Discipline, Khulna University
Site: https://ku.ac.bd/discipline/cse/faculty/amit


Dr. Amit Kumar Mondal

Collaborated with:



πŸ§‘β€πŸŽ“ Imran Rahman Ifty
BSc.

CSE Discipline, Khulna University
Site: https://github.com/Imran-Ifty


Imran Rahman 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