Consider an existing game of bridge written in Java. We are interested in integrating this bridge game into ARENA. Which design pattern would you use? Draw a UML class diagram relating the ARENA objects with some of the classes you would expect to find in the bridge game.

What will be an ideal response?


Integrating an existing game requires writing one Adapter per ARENA class in the Game interface. Figure 8-1 depicts an

example for the GameMove class.



Computer Science & Information Technology

You might also like to view...

____ planning ensures that critical business functions can continue if a disaster occurs.

A. Business response B. Business continuity planning C. Incident response D. Disaster recovery

Computer Science & Information Technology

A ____ key is a group of two or more fields where their values can be combined to be used as a primary key.

A. communal B. relational C. composite D. secondary

Computer Science & Information Technology

Text values and number values are two types of data that can be entered in a worksheet's cell

Indicate whether the statement is true or false.

Computer Science & Information Technology

The Date function calculates the current date.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology