A simple multiplayer game where players can move around and see each other in real-time.
pip install pygame- Start the Server (in one terminal):
python server.py- Start Client(s) (in separate terminals):
python client.pyYou can run multiple clients to see multiple players!
- WASD or Arrow Keys: Move your player
- Each player has a different color
- You'll see "You (P#)" above your player
- Server manages all player positions
- Clients send their position updates to the server
- Server broadcasts all player positions to all clients
- Each client renders all players on screen