| java.lang.Object poker.business.DealerImpl
DealerImpl | public class DealerImpl implements Dealer(Code) | | EnhyDraw!, beta 4, 5/21/99
Copyright 1999, Larry Wolcot & Daryl Tempesta
ALL rights reserved. Not for commercial use
without written permission from both authors.
This class handles all of the cardGame rules,
distribution of cards, hand evaluation, etc.
|
checkHand | public String checkHand(Vector cardsInHand)(Code) | | This is one scary method. It checks the hand!
Not bad work for a mathaphobic :)
|
drawMoreCards | public Vector drawMoreCards(Vector haveCards, Vector dropCards)(Code) | | This method drops the selected cards and draws new ones
|
getPayout | public int getPayout(String hand)(Code) | | Return payout ration compared to 1 from english representation
|
getUnusedCard | public Vector getUnusedCard(Vector usedCards, Vector theseCards, int index)(Code) | | Insert an unused card at index, into theseCards
|
|
|