Question: You must build a client server application that have two client and one server, all client connect at port 3333. - The program should apply

You must build a client server application that have two client and one server, all client connect at port 3333. - The program should apply stone-paper and scissors game , the server ask each client his choice then the clients will send his choice to the server and the server will decide who the winner depend on the following rules: If one of them choice the scissors and another choice paper, the scissors is winner. If one of them choice the Stone and another choice paper, The Stone is a winner. If one of them choice the scissors and another choice Stone, The Stone is a winner. - You must let each client the result, if both select the same .you must let the clients know and try again until one of them win.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!