Skip to content

MaazDev7/ThreadedPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 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/maazkhandev75/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