Created By: Puneet, Franoll, Gurshan and Jiawei
Capture The Star is a fast-paced online multiplayer game where players compete to collect as many stars as possible within a short time limit. Using grid-based movement with WASD or Arrow keys, players must chase and capture a yellow star or the rare and highly coveted red star.
- ⏱️ Game Duration: 30–40 seconds per round
- 🏆 Objective: Player with the most captured stars at the end of the game wins
- 🌟 Red Star = Shared Object: Rare, high-value, and synchronously accessed
The game is built using a client-server architecture:
-
Server:
- Run using
server.py - Listens on a port specified by the user
- Handles client connections using Python's
socketandthreadingmodules
- Run using
-
Client:
- Run using
game.py - Uses Pygame for rendering and input
- Automatically connects to the server on the specified IP and port
- Run using
- Python 3.x
pygame(install viapip install pygame)
python server.py python game.py