/Rock-Paper-Scissors

An little Rock-Paper-Scissors online game, support multiplayer by python socket.

Primary LanguagePython

Rock-Paper-Scissors Game

2021-fall TCP/IP network programming final project, is a multiplayer Rock-Paper-Scissors game for TCP connections.

Use python to write Server and Client side.

How to play

1.Requires pygame environment to execute python -m pip install pygame==2.1.2
2.Start Game Server python server.py
3.Run python main.py then enter server address

main.py


Input the serve Ip address and Port, If connections is successful, The Gui will appear.
And now wiating Play2 connnect to server.


Click the button play again.
If Play2 leavse game, P1 will wait next P2 join game.