Using the Java language, program the following and enclose the code TEXT and annotations in the code with screenshots of the code and output images showing the process : Tic Tac Toe TCP-Based game Design a TCP Client/Server (Multithreaded) Tic Tac Toe game that works as follows: 1-A client connects to the server, the server sends a list of currently available clients (who needs to play). [you may save the users' names in an array, set, collection, Map..as you like]. 2- The client selects one of the clients to play with, the server assigns O for one of them and X for the other. 3- Both clients begin the play process so that one of them sends the location where s/he wants to put the X or O. 4- The server sends both clients the positions of O and X (you may use an array for that), that displayed on clients' screens (to see what the other client plays). 5- The game stops when one of them wins the game.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 12E
icon
Related questions
Question
None
Using the Java language, program the following and enclose
the code TEXT and annotations in the code with screenshots
of the code and output images showing the process :
Tic Tac Toe TCP-Based game
Design a TCP Client/Server (Multithreaded) Tic Tac Toe game
that works as follows:
1-A client connects to the server, the server sends a list of
currently available clients (who needs to play). [you may save
the users' names in an array, set, collection, Map..as you
like].
2- The client selects one of the clients to play with, the server
assigns O for one of them and X for the other.
3- Both clients begin the play process so that one of them
sends the location where s/he wants to put the X or O.
4- The server sends both clients the positions of O and X (you
may use an array for that), that displayed on clients' screens
(to see what the other client plays).
5- The game stops when one of them wins the game.
Transcribed Image Text:Using the Java language, program the following and enclose the code TEXT and annotations in the code with screenshots of the code and output images showing the process : Tic Tac Toe TCP-Based game Design a TCP Client/Server (Multithreaded) Tic Tac Toe game that works as follows: 1-A client connects to the server, the server sends a list of currently available clients (who needs to play). [you may save the users' names in an array, set, collection, Map..as you like]. 2- The client selects one of the clients to play with, the server assigns O for one of them and X for the other. 3- Both clients begin the play process so that one of them sends the location where s/he wants to put the X or O. 4- The server sends both clients the positions of O and X (you may use an array for that), that displayed on clients' screens (to see what the other client plays). 5- The game stops when one of them wins the game.
Expert Solution
steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Knowledge Booster
Storage Devices
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,