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

Consider how enciphering of connections would affect

Consider how enciphering of connections would affect thumbprinting. a. If the connection contents were enciphered using an end-to-end encipherment protocol, would thumbprinting work? Why or why not? b. If the connection ...

1 design implement and test a computer program to simulate

1. Design, implement, and test a computer program to simulate a telephone customer service center. Your simulation should evaluate the average time customers have to wait on hold. 2. Design, implement, and test a compute ...

1 add the operation getcodeseqsymbol to the morse code tree

1. Add the operation getCodeSeq(symbol) to the Morse Code Tree ADT, which accepts a single-character symbol and returns the corresponding Morse Code sequence for that symbol. None should be returned if the supplied symbo ...

1 what is the maximum data rate of a channel with a

1. What is the maximum data rate of a channel with a bandwidth of 200 KHz if we use four levels of digital signaling. 2. An analog signal has a bandwidth of 20 KHz. If we sample this signal and send it through a 30 Kbps ...

1 what is a policy how is it different from a law2 what are

1. What is a policy? How is it different from a law? 2. What are the three general categories of unethical and illegal behavior? 3. What is the best method for preventing an illegal or unethical activity?

1 what is separation of duties how can it be used to

1. What is separation of duties? How can it be used to improve an organization's information security practices? 2. What is job rotation, and what benefits does it offer an organization?

Design an algorithm that rearranges the elements of an

Design an algorithm that rearranges the elements of an array so that all those originally stored at odd suffixes are placed before those at even suffixes. For example, the set 1 2 3 4 5 6 7 8 Would be transformed to 1 3 ...

Recall that criteria creep is the process of refining

Recall that "criteria creep" is the process of refining evaluation requirements as the industry gains experience with them, making the evaluation criteria something of a moving target. This issue is not confined to the T ...

The first few numbers of the lucas sequence which is a

The first few numbers of the Lucas sequence which is a variation on the Fibonacci sequence are: 1  3  4  7  11  18  29 ... Design an algorithm to generate the Lucas sequence.

1 design and implement a timedate adt that can be used to

1. Design and implement a TimeDate ADT that can be used to represent both a date and time as a single entity. 2. A line segment is a straight line bounded by two endpoints. The Line Segment ADT, whose operations are desc ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen