ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
Namespaces | Classes
Roulette Namespace Reference

A simulation of a roulette game. More...

Namespaces

namespace  Tests
 Test for the roulette simulation.
 

Classes

class  Bet
 Contains the information for a bet that a player will place on the table. More...
 
class  Bin
 A collection of Outcomes to be associated with a bin number in Wheel. More...
 
class  BinBuilderUS
 Builds the bins for a wheel based on US betting rules. More...
 
class  Game
 Responsible for placing the player's bets, selecting a winning bin, and resolving the bets. More...
 
interface  IBinBuilder
 Contract for constructing all of the bins for a wheel. More...
 
class  Outcome
 Responsible for representing the various Outcomes for the Roulette game. Each Outcome is comparable by its name. More...
 
class  Passenger57
 An implementation of the Player class that always bets on black. More...
 
class  Player
 Abstract contract for all Player subclasses More...
 
class  Table
 Responsible for: More...
 
class  Wheel
 Responsible for: More...
 

Detailed Description

A simulation of a roulette game.