|
ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
|
| CRoulette.Bet | Contains the information for a bet that a player will place on the table. |
| CRoulette.Tests.Bet_Tests | |
| CRoulette.Tests.Bin_Tests | |
| CRoulette.Tests.BinBuilderUS_Tests | |
| CRoulette.Game | Responsible for placing the player's bets, selecting a winning bin, and resolving the bets. |
| CRoulette.Tests.GameDemoPassenger57 | Demonstration of a Game with the 'Passenger57' player implementation. |
| ▼CHashSet | |
| CRoulette.Bin | A collection of Outcomes to be associated with a bin number in Wheel. |
| ▼CRoulette.IBinBuilder | Contract for constructing all of the bins for a wheel. |
| CRoulette.BinBuilderUS | Builds the bins for a wheel based on US betting rules. |
| ▼CIOutputService | Simple interface contract to send output to some form of console. |
| CuGUIConsole | Handles output to a Unity Input Field via IOutputService implementation. Must be attached to a UI GameObject with an InputField component. |
| ▼CMonoBehaviour | |
| CRoulette.Tests.UnitTestRunner | Monobehaviour to run unit tests. |
| CuGUIConsole | Handles output to a Unity Input Field via IOutputService implementation. Must be attached to a UI GameObject with an InputField component. |
| CuGUIConsole_IntegrationTest | |
| CRoulette.Outcome | Responsible for representing the various Outcomes for the Roulette game. Each Outcome is comparable by its name. |
| CRoulette.Tests.Outcome_Tests | |
| ▼CRoulette.Player | Abstract contract for all Player subclasses |
| CRoulette.Passenger57 | An implementation of the Player class that always bets on black. |
| CRoulette.Table | Responsible for: |
| CRoulette.Tests.Table_Tests | |
| CRoulette.Wheel | Responsible for: |
| CRoulette.Tests.Wheel_Tests |
1.8.11