https://github.com/tinawebdev/pong
đšī¸ Small retro game using C++ and SFML
https://github.com/tinawebdev/pong
cpp-game oop-examples sfml-graphics-library
Last synced: about 1 year ago
JSON representation
đšī¸ Small retro game using C++ and SFML
- Host: GitHub
- URL: https://github.com/tinawebdev/pong
- Owner: tinawebdev
- Created: 2021-02-19T04:42:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T09:10:53.000Z (almost 5 years ago)
- Last Synced: 2025-01-03T14:49:58.634Z (about 1 year ago)
- Topics: cpp-game, oop-examples, sfml-graphics-library
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong
A simple Pong game written in C++ with SFML.
## Requirements
- C++14
- SFML (x32 version)
## Install Game
- Open Terminal and change the current working directory to the location where you want the cloned directory to be made.
- Download the repository using the [instruction](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository).
- To compile and run it requires [SFML](https://www.sfml-dev.org/) already installed.
Steps can be found [here](https://www.sfml-dev.org/tutorials/2.5/#getting-started).
### How to build in Visual Studio
After opening the project, go to **"Project -> Properties..."**:
- Select **"All configurations"** in **"Configuration"** section;
- In **"C/C++ -> General -> Additional include directories"** section append the "include" directory of SFML library;
- In **"Linker -> General -> Additional library directories"** section append the "lib" directory of SFML library;
- Select **Debug** in **Configuration** section;
- At the beginning of the **"Linker -> Input -> Additional dependencies"** section append the string:
```bash
sfml-graphics-d.lib;sfml-window-d.lib;sfml-system-d.lib;sfml-network-d.lib;sfml-audio-d.lib;
```