没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > poker-java-classes |
poker-java-classes
|
0 | 0 | 47 |
贡献者 | 讨论 | 代码提交 |
This program is being written as a class assignment. No support or help will be provided what so ever. The code & algorithms are free for anyone to use or copy, provided attribution is given. Links are given in code for references for use of different parts of Java code.
Classes:
Card - Responsible for representing a playing card.
Hand - Responsible for representing a players hand, a grouping of cards & determining the poker value of the hand. (the algorithms for determining the value of the hand being the bulk of the assignment)
Player - Responsible for representing a player.
Rules - Responsible for representing the rules of the particular game.
Game - Responsible for the rules of the game, as well as determining a winner of a round of cards & ensuring the players behave legally.
- The Game class should also determine if the cards in each hand are legal, as well as all cards played per round, based upon given constraints.
PlayGame- The class which actually reads the hands in from a file and "plays" the hands.