- Simple Ping Pong project as an assignment from HSE Programming course.
- Multiplayer game, where people connect to the server and play Ping Pong till 3 points.
- There is a simple physics for ball, paddles and also physics of richochet.
We used SFML library because it is a very efficient tool, which is simple in learning and application.
We faced numerous challenges during the devising of the game, such as issues with the connection and drawing, but have successfully passed them!
We still have a desire to clean the code and make it more readable, but now we don't have sufficient amount of time to cope with it because of exams in university 😞.
IDE (CLion is preffered)
Stable and fast internet connection
Good mood and a desire to win!
SFML library is not required, it is already installed in the project (even twice!).
CMakeList.txt links everything greatly so you don't have to care about it.
-
Clone this repository on your computer.
-
Create a local network with your friends and connect to it (use, for instance, Hamachi).
-
Use CLion (preffered) or other instrument to open the project.
-
If you want to open the server, just select folder
GameServer
and CLion will help you build it. -
If you want to be a player, you should open
GameClient
folder and set inGame.h
server IP, which you can obtain from Hamachi. -
Start the server code.
-
Both players connect to the server.
-
Game starts, when both players are connected.
-
Enjoy the game!
-
Game will be ended, when some player will close the game window or lose the connection with a server.
MIT License (will be added later)