Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedKINDLY 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 losses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Q.No.1 Explain Large scale map ? Q.No.2 Explain small scale map ?

Answered: 1 week ago

Question

1. Signs and symbols of the map Briefly by box ?

Answered: 1 week ago