jeudi 1 avril 2021

i want to make a card game in java can any one help me

4 players are playing a game in which there are 6 different cards. Each card is mapped with a number from 6 to 12. There are a total of 50 turns and in each turn, each player randomly picks a card and number written on that card becomes his/her score. Each time 4 cards out of 6 are allocated to players and 2 cards remain unallocated. Each time new score is added to previous score and final score value is calculated at the end of 50 turns. At 50th turn, you need to decide King and Queen.

After 50 turns, player who gets maximum score is considered as king. Unallocated card at 50th turn is assigned to king

To find out Queen, you need to look carefully for player who has got highest score at 10th, 20th, 30th, 40th and 50th turns. Here you can use average to calculate Queen's score. Unallocated card at 50th turn is assigned to Queen

Aucun commentaire:

Enregistrer un commentaire