Monday 3-22
NEW
Java & AP : Add getBestHand method to the PokerHand class that returns a string which identifies what the player has. If the hand does not contain a pair or higher, it will return the high card. Submit method.
AP(due EOC)
Java(due midnight)AP - due midnight tonight
AP - sortHand implements the Selection sort (must work on any size of hand): algorithm and example
AP - write sortHand2 which implements a bubble sort (must work on any size of hand): algorithm and example
AP - submit selection sort | submit bubble sort
OLD - AP and H,K (from Friday)
Deck1 class methods - all due midnight Sunday
private data array of 52 Cards
Deck1 constructor - creates a new deck of Cards in order.
Card getCardFromDeck(int loc) - returns a Card at location loc from the Deck.
cutDeck(int loc) - cuts the deck at loc and replaces the top on the bottom.
cutDeck() - randomly selects a location to cut between 20 and 30 and replaces the top on the bottom.
Submit the methods above by midnight sunday.
*******************Only have this from K
shuffleDeck() - cuts the deck at a random location between 20 and 30
perfectShuffle() - cuts the deck at location 26 and shuffles.
showDeck() - outputs the deck
equals(Deck d) - Checks to see if two decks are in the same order.
Submit the methods above by midnight sunday.
*******************Only have this from K
AP(H & K) - PokerHand methods due Monday Midnight (tonight)
Tuesday
AP HK - Submit your Deck class (make sure it is working with the other classes!) Due midnight
Java - get a copy of the Deck class from AP-HK and implement it in your project. Make sure the Deck class works appropriately!!! Submit the working Deck class you will use. Due midnight
All Creating Deck2 - ArrayList private data. Copy and paste the code from the deck class and modify it to use an ArrayList instead of an array. Due midnight Wednesday
Wednesday
All Creating Deck2 - ArrayList private data. Copy and paste the code from the deck class and modify it to use an ArrayList instead of an array. Due midnight Wednesday
Thursday
Friday
Code test - Part 2 : Due midnight sunday
Updated: Thursday, March 25, 2010 8:56 AM