Develop the game using the concepts of cohesion coupling


Question 1: Develop the game using the concepts of Cohesion, Coupling and RDD, i.e., responsibility-driven design.

1. Note that each class should represent one logical entity

2. Also note that each method should perform one logical task

3. Aim for high cohesion and low coupling

4. Atleast 3 classes.

Prepare a game using simple java programming that allows a human player to play against the computer, or have the computer play against itself.

The game is Evens or Odds where the human player enters a 1 or a 2 as their 'hand' and the computer's number is generated by a Math. Random function. You need to prepare a java programming that develops a game using concepts of Cohesion.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Develop the game using the concepts of cohesion coupling
Reference No:- TGS0959857

Expected delivery within 24 Hours