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
- Game pause
- GUI to define server
Before running anything, clone the repository:
git clone https://github.com/joni2back/pong-multiplayer
cd pong-multiplayer
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'
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'