https://github.com/terroo/pong
A game similar to Atari's famous Pong, but with slightly different gameplay and remixed football-themed design. Made with C++ and SFML.
https://github.com/terroo/pong
cplusplus cplusplus-17 gamedev sfml
Last synced: 12 months ago
JSON representation
A game similar to Atari's famous Pong, but with slightly different gameplay and remixed football-themed design. Made with C++ and SFML.
- Host: GitHub
- URL: https://github.com/terroo/pong
- Owner: terroo
- License: gpl-3.0
- Created: 2022-07-09T11:54:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T13:38:57.000Z (almost 4 years ago)
- Last Synced: 2025-04-23T07:37:31.147Z (about 1 year ago)
- Topics: cplusplus, cplusplus-17, gamedev, sfml
- Language: C++
- Homepage: https://youtu.be/cruLikMNhP0
- Size: 422 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pong
A game similar to Atari's famous Pong, but with slightly different gameplay and remixed football-themed design. Made with C++ and SFML.
[](https://youtu.be/cruLikMNhP0)
---
# Dependencies
+ [SFML](https://github.com/SFML/SFML)
+ [gcc/g++](https://gcc.gnu.org/)
+ [Make](https://www.gnu.org/software/make/)
Example of installing dependencies on Ubuntu
> Use your operating system's package manager `search` to find the name of the corresponding packages
```bash
sudo apt install g++ make sfml-dev
```
---
# Build and run
```bash
git clone https://github.com/terroo/pong
cd pong
make
```
---
# How to play
+ `w`(up) or `s`(down) - To move the player on the LEFT
+ `↑`(up) or `↓`(down) - To move the player on the RIGHT
> If you want to play with the **computer**, remove the `//` comments from lines `30` to `35` of the [logic.cpp](logic.cpp) file .
---
# Additional
This game was created in a Youtube video, if you want to watch it, visit: .