Skip to content

A minimilistic multi threaded Pong game in c++ using SFML graphics library for linux environment

License

Notifications You must be signed in to change notification settings

maazkhan75/ThreadedPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏓 Threaded Pong

This is a multithreaded classic Pong game in C++ using the SFML graphics library.

🎮 Features

  • 💻 Single-player mode against the computer.
  • 👥 Two-player mode for playing with your friend.
  • 🎹 Simple and intuitive controls.
  • ⚙️ Basic collision detection and game logic.
  • 🏆 Score tracking for both players.
  • ⚡ Adjustable ball speed.

📋 Prerequisites

  • 🐧 You need a Linux environment; the game has been tested in Ubuntu (Debian Linux distro).

⚙️ Setup Guide

  • For running the game, use the following command in Linux after installing SFML using the command:
sudo apt-get install libsfml-dev
  • For compiling the program, use the command:
g++ t.cpp -lsfml-graphics -lsfml-window -lsfml-system -o t
  • To run the executable, use the command:
./t

📄 License

This project is licensed under the MIT License.

📥 Clone the Repository

git clone https://github.com/maazkhan75/ThreadedPong.git

📸 Screenshots

About

A minimilistic multi threaded Pong game in c++ using SFML graphics library for linux environment

Topics

Resources

License

Stars

Watchers

Forks

Languages