A multiplayer quiz game built with raw Python sockets using a hybrid TCP/UDP architecture. Built as part of the ENCS3320 Computer Networks course at Birzeit University.
- TCP → player registration, question broadcast, final results
- UDP → real-time answer submission and feedback
- Players connect via TCP and register with unique usernames
- Server waits for minimum 2 players then starts the game
- Server sends questions to all players via TCP
- Players submit answers via UDP (10 seconds per question)
- Server sends instant feedback via UDP (Correct / Wrong)
- After 5 rounds, server announces final scores and winner via TCP
python server.py
python client.py
- Min players: 2 / Max players: 4
- Questions per game: 5
- Time per question: 10 seconds
- Scoring: +1 correct, 0 wrong
socket, threading, random, time — standard library only
- Course: ENCS3320 — Computer Networks
- University: Birzeit University
- Semester: Fall 2025