Skip to content

OS-SPRING23/final-project-aaribazfar_k213342

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PING PONG Process Communication between sockets with GUI

OS PROJECT BCS-4A

Huzaifa Rashid 21K-3299 Aarib Azfar 21K-3342 Abdullah Ashar 21K-3189

Overview: A simple pong game between two computers. On each computer only their area of the screen and overall score is displayed

Details: A ping pong game with displayed GUI. A player(Client) connects to a server in its LAN. Then player plays the game, client and server communicate in between sending data packets consisting information about player and ball position. Server does 2 things. It simulates the game which is ball movement, paddle movement, collision detection and maintaining the score and receives input from the two clients about which arrow key is pressed then moves the paddle in that direction. The two clients which are two players on different computers have only two jobs. To draw the paddle a the ball at the coordinates received by the server and to send input data to server about which arrow key is pressed.

Objectives:

• Make a simple pong game
• Make a server to share the coordinates of the ball and the score
• Make 2 clients where the game runs and share data with the server

Application Information:

• Language used: Python
• Modules: Pygame
• Os concepts: Threading, Sockets

Future Todo:

• Main Menu
• Different levels
• Customizability
•  Port the game over to WAN/Internet

About

final-project-aaribazfar_k213342 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages