Find Jobs
Hire Freelancers

Go Fish Java HW Project

$30-250 USD

Annullato
Pubblicato più di 7 anni fa

$30-250 USD

Pagato al completamento
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 [login to view URL] 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 [login to view URL] 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 [login to view URL] 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 [login to view URL] 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 [login to view URL] 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 [login to view URL] 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
Rif. progetto: 11703956

Info sul progetto

14 proposte
Progetto a distanza
Attivo 8 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
14 freelance hanno fatto un'offerta media di $120 USD
Avatar dell'utente
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 in 1 giorno
5,0 (1072 valutazioni)
7,6
7,6
Avatar dell'utente
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 giorni
4,9 (312 valutazioni)
7,2
7,2
Avatar dell'utente
need an A grade?contact me.
$155 USD in 1 giorno
4,9 (90 valutazioni)
6,5
6,5
Avatar dell'utente
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-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him for anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$50 USD in 1 giorno
4,9 (404 valutazioni)
6,6
6,6
Avatar dell'utente
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 as soon as possible for a discussion. With Regards, Koustav
$100 USD in 2 giorni
4,9 (175 valutazioni)
6,3
6,3
Avatar dell'utente
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 Usman Shery
$55 USD in 3 giorni
4,8 (97 valutazioni)
5,8
5,8
Avatar dell'utente
A proposal has not yet been provided
$166 USD in 1 giorno
4,9 (84 valutazioni)
5,4
5,4
Avatar dell'utente
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 giorni
5,0 (10 valutazioni)
4,1
4,1
Avatar dell'utente
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 softwares .
$133 USD in 1 giorno
5,0 (4 valutazioni)
3,0
3,0
Avatar dell'utente
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 giorno
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
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 in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
United States
0,0
0
Membro dal ott 5, 2016

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.