KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > poker > spec > Dealer


1 /*
2  * poker
3  *
4  * Enhydra super-servlet specification object
5  *
6  */

7
8 package poker.spec;
9
10 import java.util.Vector JavaDoc;
11
12 public interface Dealer {
13 public Vector JavaDoc dealFiveCards();
14 public Vector JavaDoc getUnusedCard(Vector JavaDoc usedCards, Vector JavaDoc theseCards,int index);
15 public Vector JavaDoc drawMoreCards(Vector JavaDoc haveCards, Vector JavaDoc dropCards);
16 public String JavaDoc checkHand(Vector JavaDoc cardsInHand);
17 public int getPayout(String JavaDoc hand);
18
19 }
Popular Tags