This game, often known as Fish, is for 2-6 players. A standard 52 card deck is used. The dealer deals 5 cards to each player(7 cards if only 2 players). The remaining cards are placed face down to form the stock. The player to the dealer's left starts the game. A turn consists of asking a specific player for a specific rank of card. For example, if it is Player 1 turn, I might say: "Player 4, do you have any jacks?" The player who asks(Player 1), must hold atleast one card of the requested card rank. If player 4 has any jacks that player must concede ALL their jacks to Player 1. That player(Player 1) then gets another turn and may ask any player for any rank that he holds. If the person asked does not have any cards of the named rank, they say "Go Fish". The asker must then draw the top card of the undealt stock. If the drawn card is the rank asked for, the asker shows it and gets another turn. If the drawn card if not the rank asked for, the asker keeps it, but the turn now passes to the player who said "Go Fish". As soon as a player collects a book of 4 cards of the same rank, this must be shown and discarded face down. The game continues until either someone has no cards left in their hand or the stock runs out. The winner is the player who has the most books(4 card sets) if the stock is gone OR the player who had no cards left. The computer user is Player 1 and decides how many players are playing the game(1 - 5 other players). The computer now plays as the rest of the players. I also have a list of Use Cases if needed for clarity on how this program should operate.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
This needs to be written in Java and must be functional using J++ compiler. This program CAN NOT use Java swing components.