https://github.com/mqlvin/pong-sfml
A pong implementation in SFML/C++.
https://github.com/mqlvin/pong-sfml
cpp make makefile pong pong-game sfml sfml-game sfml-graphics-library
Last synced: over 1 year ago
JSON representation
A pong implementation in SFML/C++.
- Host: GitHub
- URL: https://github.com/mqlvin/pong-sfml
- Owner: Mqlvin
- Created: 2023-10-16T20:18:27.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T21:10:28.000Z (over 2 years ago)
- Last Synced: 2025-02-06T07:23:51.879Z (over 1 year ago)
- Topics: cpp, make, makefile, pong, pong-game, sfml, sfml-game, sfml-graphics-library
- Language: C++
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Pong in **SFML**
An implementation of the game Pong in SFML using C++.
- This is my first completed project in C++.
- This is my first time using SFML.
- This is my first time writing Makefiles.
**So I apologise if the code is not the best! I'm still learning :D**
### To play
#### _Prerequisites_
You must have **SFML** and the **gcc compiler**
On Arch, simply run `pacman -S sfml gcc`
Other Linux distro's should have similar packages in their repositories.
#### _Building_
To build the project, clone into a directory, and run `make`
#### _Playing_
To play, just execute the generated file, with `./out`
- **Player 1** uses the **W** and **S** keys.
- **Player 2** uses the **Up Arrow** and **Down Arrow** keys.
Thanks for playing!
### Screenshot
