Object: |
To beat your opponent with a better (higher value) hand. It has 1, 2 and 3 player games. |
To Start |
- Present a game main menu that offers the following options:
Welcome to Calculator Poker!
Please choose from the following options:
1) Read Instructions.
2) One player game.
3) Two player game.
4) Three player game.
5) End game.
- There are always 3 players (human and/or computer) in this game.
- Require each human player to enter a name. Address them by their names, not as player A, B, etc.
- Play the game.
- When the game is over:
- display all three hands,
- identify the type of hand, and the high
card
- and the rank of each hand as first, second and third.
Example:
Fred: | 34223 | Two Pair, high card 4 | Second |
Joey: | 24680 | Even Straight, high card 8 | First |
Tron: | 52418 | High Card, high card 8 | Third |
- Then return to the main menu.
|
The Play |
Player A inputs a five digit number. Player B then inputs a five digit number, and player A's number will be divided by it. The first 5 digits of the remaining decimal number is player A's hand.
Player B inputs a five digit number. Player C Player then generates a random five digit number, and player B's number will be divided by it. The first 5 digits of the remaining decimal number is player B's hand.
Player C generates a random five digit number. Player A then inputs a five digit number, and computer player's number will be divided by it. The first five digits of the remaining decimal number is Player C's hand.
*NOTE* You may not divide by the same number as the previous entry. This would result in a hand of 1, and the process would have to be repeated.
|
Hand Values |
| Hands | Example |
A) |
5 numbers the same |
55555 |
B) |
Odd straight flush |
35179 |
C) |
Even straight flush |
04826 |
D) |
4 numbers the same |
44144 |
E) |
Full house |
22333 |
F) |
Flush: all odd or even numbers |
24448 |
G) |
Straight: any 5 number sequence |
12345 |
H) |
Three of a number |
33318 |
I) |
Two pairs of numbers |
23723 |
J) |
One pair of numbers |
11356 |
K) |
High number |
|
|
Example Play |
- Player A enters 34567
- Player B divides by 56321
- = 0.6137497
- Player A's hand is 61374
- Player B enters 78965
- Player C divides by 56328
- = 1.401878
- Player B's hand is 40187
- Player C generates 14896
- Player A divides by 85693
- = 0.1738298
- Player C's hand is 17382
Player A: | 61374 | High Card, high card 7 | Third |
Player B: | 40187 | High Card, high card 8 | First |
Player C: | 17382 | High Card, high card 8 | Second |
|
User Interface Design |
Use the technology assigned (GUI, Dialog Boxes, or Console) to maximize usability.
|