Skip to content

TobbyMax/Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SFML Ping Pong

Description

  • 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 😞.

Dependencies

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.

How to Install and Run the Project

  1. Clone this repository on your computer.

  2. Create a local network with your friends and connect to it (use, for instance, Hamachi).

    image

  3. Use CLion (preffered) or other instrument to open the project.

  4. If you want to open the server, just select folder GameServer and CLion will help you build it.

    image

  5. If you want to be a player, you should open GameClient folder and set in Game.h server IP, which you can obtain from Hamachi.

    image

  6. Start the server code.

  7. Both players connect to the server.

  8. Game starts, when both players are connected.

  9. Enjoy the game!

    image

  10. Game will be ended, when some player will close the game window or lose the connection with a server.

Credits

Pasha Medvedev

Maksim Ageev

License

MIT License (will be added later)

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published