Mqlvin / pong-sfml

A pong implementation in SFML/C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A pong implementation in SFML/C++.


Languages

Language:C++ 95.0%Language:Makefile 5.0%