Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions