-
Notifications
You must be signed in to change notification settings - Fork 0
Home
hobeom edited this page Nov 12, 2024
·
1 revision
Welcome to the QuizGame wiki!
A simple quiz game built with Java socket programming. The server manages multiple clients, and clients can participate in a quiz with real-time feedback.
- A server handles multiple clients using a thread pool
- Clients receive quiz questions and submit answers
- Real-time feedback and scoring are provided
- Start the server program
- Launch one or more clients
- Press Button 'Connect to Server'
- Answer the quiz questions displayed on the client
- View the feedback for each answer
- View the final score after completing the quiz
- Socket_Server: Manages the server and client connections
- ClientHandler: Processes each client in a separate thread
- Socket_Client: Connects to the server and handles communication
- Socket_Client_GUI: Provides a graphical interface for users
- The client press connect button
- The server sends a quiz question
- The client submits an answer
- The server validates the answer and sends feedback
- The final score is sent after the quiz ends
- Ensure the server is started before launching the clients
- The GUI version makes it easier to participate in the quiz
- Questions can be customized by modifying the code