Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Class Diagram two

Posted on 2012-09-10
4
Medium Priority
?
355 Views
Last Modified: 2013-04-30
Problem 1: Another card game
There are 52 cards in a deck (Joker is not included). Game starts with shuffling of the cards. Once cards are shuffled, cards are distributed to the players. Game is simple. Each player takes the card which is at top of their collection. Player who has put the high value card takes all the cards and adds it at the bottom of his collection. Game is over when a player loses all the cards. Player who has maximum number of cards is the winner.
Rules of the game:
•      Value of the cards in ascending order: 2,3,4,5,6,7,8,9,10,J,Q,K, A
•      If player puts same value of different colour then highest is decided in the order (descending). Hearts (highest), Diamonds, Spade and Clubs (lowest). This means 2 Hearts is greater than 2 Clubs.
•      3 of Clubs is greater than 2 of Hearts.
Please suggest me how to Identify the class, property and methods needed to implement solution for this.
0
Comment
Question by:praveen1981
  • 2
4 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 38386097
Hi again,

This looks like some sort of class assignment. It's against the rules for us to help with class work.

Why don'y you attempt a solution and then we can help based on what you've done.

Cheers,

Darren
0
 

Accepted Solution

by:
praveen1981 earned 0 total points
ID: 38488975
Hi

Architecure helped me in solving this problem.
0
 

Author Closing Comment

by:praveen1981
ID: 38500290
Architecute of my team guide me in solving this problem
0
 

Expert Comment

by:skvivekanand
ID: 39124359
Hi Praveen,

Could you share the solution given by your Architect

Plz send your solution to skvivekanand@hotmail.com
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Integration Management Part 2
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question