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
--FOR WINDOW--
- install python3
- install pip
- editor (recommend visual studio code)
Before running anything, clone the repository:
git clone https://github.com/longtranv/ping-pong-lan-multiplayer-game
cd ping-pong-lan-multiplayer-game
pip install pyglet
code src/lib/settings.py # in order to define the server ip and port
python ./src/server.py
Alternatively, with Nix:
code src/lib/settings.py # in order to define the server ip and port
nix-shell --pure --run './src/server.py'
code src/lib/settings.py # in order to define server connection ip and port
python src/client.py
Alternatively, with Nix:
code src/lib/settings.py # in order to define the server ip and port
nix-shell --pure --run './src/client.py'