Skip to content

Python table tennis 2D game with network multiplayer support using tcp sockets

Notifications You must be signed in to change notification settings

joni2back/pong-multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong multiplayer

Pong multiplayer is a Table-Tennis game that supports LAN multiplayer (and singleplayer).

  • Written in python with pyglet
  • Using socket connections to share data with the server

TODO

  • Game pause
  • GUI to define server

Running

Before running anything, clone the repository:

git clone https://github.com/joni2back/pong-multiplayer
cd pong-multiplayer

Running server

sudo pip install pyglet
vim src/lib/settings.py # in order to define the server ip and port
python ./src/server.py

Alternatively, with Nix:

vim src/lib/settings.py # in order to define the server ip and port
nix-shell --pure --run './src/server.py'

Running client

vim src/lib/settings.py # in order to define server connection ip and port
python src/client.py

Alternatively, with Nix:

vim src/lib/settings.py # in order to define the server ip and port
nix-shell --pure --run './src/client.py'

About

Python table tennis 2D game with network multiplayer support using tcp sockets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published