Skip to content

89CF/pygame_multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Multiplayer Pygame Game

A simple multiplayer game where players can move around and see each other in real-time.

Requirements

pip install pygame

How to Run

  1. Start the Server (in one terminal):
python server.py
  1. Start Client(s) (in separate terminals):
python client.py

You can run multiple clients to see multiple players!

Controls

  • WASD or Arrow Keys: Move your player
  • Each player has a different color
  • You'll see "You (P#)" above your player

How It Works

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages