Skip to content

longtranv/ping-pong-LAN-multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

--FOR WINDOW--

PREREQUISITE

  • install python3
  • install pip
  • editor (recommend visual studio code)

Running

Before running anything, clone the repository:

git clone https://github.com/longtranv/ping-pong-lan-multiplayer-game
cd ping-pong-lan-multiplayer-game

Running server

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'

Running client

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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published