|
ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
|
| ▼NRoulette | A simulation of a roulette game. |
| ▼NTests | Test for the roulette simulation. |
| CBet_Tests | |
| CBin_Tests | |
| CBinBuilderUS_Tests | |
| CGameDemoPassenger57 | Demonstration of a Game with the 'Passenger57' player implementation. |
| COutcome_Tests | |
| CTable_Tests | |
| CUnitTestRunner | Monobehaviour to run unit tests. |
| CWheel_Tests | |
| CBet | Contains the information for a bet that a player will place on the table. |
| CBin | A collection of Outcomes to be associated with a bin number in Wheel. |
| CBinBuilderUS | Builds the bins for a wheel based on US betting rules. |
| CGame | Responsible for placing the player's bets, selecting a winning bin, and resolving the bets. |
| CIBinBuilder | Contract for constructing all of the bins for a wheel. |
| COutcome | Responsible for representing the various Outcomes for the Roulette game. Each Outcome is comparable by its name. |
| CPassenger57 | An implementation of the Player class that always bets on black. |
| CPlayer | Abstract contract for all Player subclasses |
| CTable | Responsible for: |
| CWheel | Responsible for: |
| 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. |
| CuGUIConsole_IntegrationTest |
1.8.11