Term
Outcome:
responsibilities? |
|
Definition
Responsibilities: A name for the bet and payout odds. This Isolates the calculation of the payout amount.
For example: "Red" "1:1" |
|
|
Term
|
Definition
Calloborators: Collected by "wheel" into the bins that reflect the bets that win; Also collected by "table" into the available bets for the "player" ; used by "Game" to compute the amount won from the amount that was bet. |
|
|
Term
|
Definition
Selects the "outcomes" that win. This isolates the use of a random number generator to select "outcome"s and it encapsulates the set of winning "outcome"s that associated with each individual number on the wheel. Example: the "1" bin has the following winning "outcome"s "1" "Red", "odd", "low", "Column 1" "Dozen 1-12" "Split 1-4" "Split 1-2" "street 123" "Corner 1245" "Five bet" "line 123456" "00-0-1-2-3 |
|
|
Term
|
Definition
Collects the "outcome"s into bins; used by the overall "Game" to get the next set of winning "outcome"s. |
|
|
Term
|
Definition
A collection of bets placed on "outcome"s by a Player. This isolates the set of possible bets and the management of the amounts currently at risk on each bet. This also is the interface between the Player and other elements of the game. |
|
|
Term
|
Definition
Collects the outcomes used by player to place a bet amount on a specific outcome. Used by Game to compute the amount won from the amount was bet. |
|
|
Term
|
Definition
Responsibilities: Places bets on outcomes updates the stakes with the amounts won and lost. |
|
|
Term
|
Definition
Collaborators: Uses Table to place bets on outcomes, Used by game to record wins and losses |
|
|
Term
|
Definition
Runs the game: gets bets from player, spins Wheel, collects losing bets, pays winning bets. This encapsulates the basic sequence of play into a single class.
|
|
|
Term
|
Definition
Collaborators:
Uses Wheel, Outcome, Player, Table. The overall statistical analysis will play a finite number of games and collect the final value of the players stake. |
|
|