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

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++.

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
![Screenshot](./image.png)