Repository files navigation
MtClient.java handles user keyboard input.
ClientListener.java receives responses from the server and displays them
MtServer.java listens for client connections and creates a ClientHandler for each new client
ClientHandler.java receives messages from a client and relays it to the other clients.
This program runs a game where one client, the host, asks the players questions. The first one to answer correctly gets a point.
"Who?" - Lists all connected users
"Goodbye" - Disconnect from server
"SCORES" - Displays current scores (Host only)
"QUESTION answer question" - Send a quiz question (Host only)
"ADDPOINTS name amountofpointstoadd" (Host only)
Compile all of the files: javac *java
Run MtServer.java in one terminal
Run MtClient.java in as many other terminals as you'd like
About
Client Server application where the Server hosts a trivia. The Clients connect to the host server and receive trivia questions.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.