Answered step by step
Verified Expert Solution
Question
1 Approved Answer
KINDLY SOLVE THIS IN JAVA LANGUAGE Cards Game (Patay pe Pata): This is group-based project in which you have to design a simulation of Patay
KINDLY SOLVE THIS IN JAVA LANGUAGE
Cards Game (Patay pe Pata): This is group-based project in which you have to design a simulation of Patay pe pata cards game that will run on console. It should behave like real world game. The game should have following features: FEAT 1: It should be a two player game. Not more or less than 2 players are allowed. Game proceeds till no winner. FEAT 2: Game will have cards and each card has color and Face Value. Color can be Spades, Hearts, Clubs or Diamonds. Face Value can be anyone of 2,3,4,.10,J,Q, K,A. FEAT 3: You will have a deck of cards (52 cards). FEAT 4: At the start of the game, the deck of 52 cards are randomly divided into two equal decks of 26 cards. Both players are given 1 deck of cards. FEAT 5: At each turn, player draws the top card from his/her deck on table's deck. FEAT 6: If the Face Value of card placed by player is same as the top card of table deck then that player takes table deck, add it in its deck and shuffle it. FEAT 7: Else second player make his/her turn. FEAT 8: Both Players shuffle their cards each time any player get cards from table's deck. FEAT 9: Player who get table's deck throws another card at the end of his/her turn. FEAT 10: The player who has no remaining card in his/her deck lossesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started