Annulleret

Go Fish Java HW Project

I need this done by tomorrow before 5pm central USA time zone.

Background Information

Go Fish is a children’s card game usually played by 3-6 players(although two can also play), usinga shuffledstandarddeck of 52 cards. The objective of the game is to collect as many “books” (sets of 4 cards of the same rank) as [url removed, login to view] game starts by dealing 5 cards to each player. The player to the dealer’s left takes the first turn. During Player A’s turn, Aasks a specific player (call this Player B) to give Aall cards of a specific rank. To do this, Amust possess at least one card of that rank. If Bhas any cards of that rank, s/he must give all of them to A, andAthen takes another [url removed, login to view] Bdoes not have any cards of that rank, s/he tells Ato “Go fish!” At this point, Adraws the top card fromthe deck. If that drawn card matches the rank that Ainitially requested, Atakes another turn. If the drawn card does not match the rank that Ainitially requested, it becomesB’s [url removed, login to view] soon as a player collects 4 cards of the same rank (whether from another player, or from the deck), s/he removes this “book” of cards from his/her hand and sets it aside. The game ends when there are no cards left in the deck, or when any player runs out of cards in his/her hand. The winner is the player with the most [url removed, login to view] are possible.

The Assignment:

Write a text-based implementation of Go Fish. Your program should allow 2-6 players to play the game. Since there’s no concept of “to the dealer’s left” in this software version, you can make the first turn go to any player you wish. When a player takes his/her turn, your program should display a count of how many cards are left in the deck, as well as a summary of that player’s current hand and collected books, if any. When the game ends, determine and show the winning player(s) on the screen.

To make things easier for you (and for the TAs!), I’ve already developed a basic class design for you.

Card and Deck classes to represent an individual card and a deck of cards. You can use the Card and Deck classes from the poker example discussed in lecture as a starting point. However, you may need to add a little bit more functionality.

A Player class to represent each player. This class should include (but is not limited to) the following parts:

Instance variables

Player’s name

Cards in the player’s hand

Books that the playerhas collectedo

Methods

Adding a card to the hand

Removing cards from the hand that form complete books

Transferring all cards of a specific rank to another Player object

A GoFishclass to represent the entire set of [url removed, login to view] class should include (butis not limited to) the following parts:

Instance variables

A Deckobject

An array of Playerobjectso

Methods

Allowing a specific player to take his/her turn

Checking whether the game is over

Determining the winning player(s)

A startGame()method similar to what we wrote in thepoker and Nim examples. This method iswhat will get executed when you run your game. Itshould include things like allowing the user to specify the number of players, collecting each player’s name, allowing players to take turns until the game is over, etc.

Note that all user input should be located only in the GoFishclass. The idea is that the core game objects (cards, deck, etc.) should be independent of the game’s user interface. If you wanted to make a graphical version of Go Fish, you’dbe able to use the existing classes and make changes only to GoFish!

Implement error checking on all user inputs, to the extent that was covered in COMP [url removed, login to view] example, you should include things like:

Making sure the user can’t select fewer than 2or greater than 6 players

Making sure a player can’t ask him/herself for cards

Making sure a player can’t request a rank that s/he does not have in his/her hand

Evner: Java

Se mere: java swing calculator source code complete project, complete project advance java, simple project database java, deliver small project assignments java coding, project mis java, project chess java, college attanance project source java, college management system project source java, college project using java, project php java, florist website project code java, java easy login authentication form, mini project using java script, online exam project using java, project application java mobile

Om arbejdsgiveren:
( 0 bedømmelser ) United States

Projekt ID: #11703956

15 freelancere byder i gennemsnit $123 på dette job

it2051229

Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.

$35 USD på 1 dag
(915 bedømmelser)
7.4
AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 250 projects and over 600 hours doing java projects. plus i passed freelancer java exam with top 15% plus i got 2 java certificate 1Z0-803 and 1Z0- Flere

$50 USD på 1 dag
(225 bedømmelser)
6.0
asadrana91

need an A grade?contact me.

$155 USD på 1 dag
(63 bedømmelser)
6.2
utkarshkatiyar19

Hi, i have a lot of experience in java programming. i can easily complete this task for you. we can have a chat. thanks

$200 USD in 3 dage
(52 bedømmelser)
5.4
FutureTechno1

Hi there, I’d like to be considered for your job position. I’m a Software Developer with a strong background developing android & web application. I can turn your requirement in a way that represents your brand and Flere

$155 USD in 3 dage
(9 bedømmelser)
5.2
$155 USD in 3 dage
(27 bedømmelser)
4.8
dipakjadhav08

A proposal has not yet been provided

$166 USD på 1 dag
(43 bedømmelser)
4.7
koustav2006

Hi, I am good at core java programming using OO design. I can help you complete the game in Java as per given specs and instructions. I will deliver the code as either Eclipse or Netbeans project. Please contact me Flere

$100 USD in 2 dage
(19 bedømmelser)
4.2
usmanshery

Hi i'm software engineer and expert java developer. I have experience in multi-threaded systems such as simulations and games, data structure and algorithm and GUI development. Please contact me for details Regards U Flere

$55 USD in 3 dage
(20 bedømmelser)
4.6
Topfreelancer4

Feel fee to contact me [login to view URL] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] yo Flere

$150 USD in 3 dage
(7 bedømmelser)
3.2
nishantsingh0907

Hi , I have developed a similar card game for another employer . I can show you the code if you wish to. About me, I am a Java code enthusiast with Oracle certification. I am looking for good opportunities for coding s Flere

$133 USD på 1 dag
(3 bedømmelser)
3.0
appotato10

Hi, i am a senior java developer, see my profile to get details. I did many projects for students. Contact me to dícuss. Thanks, Appotato

$155 USD in 3 dage
(4 bedømmelser)
2.6
digitallancing

Hi i can develop that program perfectly in just one day inbox me Thanks .................................................................

$155 USD på 1 dag
(3 bedømmelser)
2.8
gurleen001

Hi, I have a good experience of coding in Java. I assure you that your work will be done perfectly and in minimum possible [login to view URL] give me a chance. Thank you.

$100 USD in 5 dage
(3 bedømmelser)
1.6
$205 USD in 5 dage
(2 bedømmelser)
0.8
elarbaouioussama

Hi , i just finished this mini-game , and it is working perfectly as i understand from the description, if you want the source code please contact me .

$116 USD in 0 dage
(0 bedømmelser)
0.0
$155 USD in 3 dage
(0 bedømmelser)
0.0
cabanoff

Hi. I'm new on this site and I'm interested in getting experience here )) Would you help me with it? I promise to do the job on time. I work in netbeans.

$111 USD på 1 dag
(0 bedømmelser)
0.0