Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

One-way to solidify the concepts of the client/server calculating and inter process communication is to develop the requirements for a computer game which plays “Rock, Paper, Scissors” using these methods.  The requirements must specify which elements of gaming task are performed by client and those performed by the server, which inter process communication method you are going to employ, and comprise a discussion of how information is exchanged.  An actual program is not needed just the design specifications.

The game is normally played by two people (more are possible), and the rules are quite simple.  Each player decides on one of three items, then on the count of three shows them to other player(s) (i.e., each player pumps their first three times, then having out their hand in an appropriate gesture.)  The items might be rock (closed fist), paper (palm open), or scissors (two finger “peace” sign), and the winner is determined by:

- Paper beats rock – paper wraps rock
- Rock beats scissors – rock dulls scissors
- Scissors beats paper – scissors cut paper

Assignment is as follows:

- Make a set of programs

- No coding, just design

- Rules for Rock, Paper, Scissors

- If the two people select the same symbol (rock, paper, scissors), it is a draw and they play again

- If the two people select dissimilar symbols, the winner is determined as follows:

- Rock beats scissors

- Scissors beats paper

- Paper beats rock

- Use at least two processes

- Specify the inter process communication technique used to exchange messages between the client(s) and server

- You will need to answer the problems

- How do you get the server’s attention (how does the process start)?

- What commands will be accepted (how do you send messages)?

- How are the answer provided (what is the response)?

- In addition you will need to deal with the subsequent:

- Content of the message

- How the messages are exchanged

- How does the server respond to the message?

- What occurs if timeout

- How is the game terminated?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91550

Have any Question? 


Related Questions in Computer Engineering

Explain why the strategy for storing check constraint

Explain why the strategy for storing CHECK constraint values in a separate table is better than implementing them in a table-based constraint. How can this strategy be used to implement the constraint on ARTIST. National ...

Answer project question 565 if you have not already done so

Answer Project Question 5.65 if you have not already done so. Design a database for your model in Project Question 5.65(d). Your design should include a specification of tables and attributes as well as primary, candidat ...

Aluminum alloys are made by adding other elements to

Aluminum alloys are made by adding other elements to aluminum to improve its properties, such as hardness or tensile strength. The following table shows the composition of five commonly used alloys, which are known by th ...

Provide a brief comparison of vpn protocols outlining the

Provide a brief comparison of VPN Protocols, outlining the advantages and disadvantages of each. Provide a scenario where it might be useful to use VPN for an organization.

Most round-robin schedulers use a fixed size quantum give

Most round-robin schedulers use a fixed size quantum. Give an argument in favor of a small quantum. Now give an argument in favor of a large quantum. Compare and contrast the types of systems and jobs to which the argume ...

You are hired as a six sigma black belt of a biotech

You are hired as a Six Sigma Black Belt of a Biotech company. Your company just went through a product recall after critical defects were reported in several product complaints. A preliminary investigation showed that th ...

Scenarioidentify and discuss all of the Scenario: Identify and discuss all of the

Scenario: Identify and discuss all of the applicable employee laws and how they apply to  employee situations. You are the Vice President (VP) of Human Resources (HR) for Moore Beer, Inc. The President of the company has ...

Consider the economy of a small country for each labor hour

Consider the economy of a small country. For each labor hour, it has capital stock equal to 900 units. In the current year it produced 20 units of new capital goods, with a depreciation rate of 20% and a production funct ...

What is the purpose of the name attribute for form input

What is the purpose of the name attribute for form input elements? In what situations should the value of name be a simple name or an array name such as sports[]?

Does the minimum spanning tree of a graph give the shortest

Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate