- Objective - To create an casino simulation
- Purpose - To gain familiarity with general object orientation and design principles
- Games implemented by Me - Slot machine and Chohan dice game
Also worked on a player and account management system.
- Description
- Created a casino simulation by extending or removing the pre-built implementations.
- Enforced the following features in the system:
- Ensure a console-based interface is available to allow input from and output to the users
- Ensure the
Casino
has a selection of at least 6 implementation ofGameInterface
. - Ensure
PlayerInterface
is garbage collected upon completing a respectiveGameInterface
SlotsPlayer
should be garbage collected whenSlotsGame
is garbage collected.BlackJackPlayer
should be garbage collected whenBlackJackGame
is garbage collected.
- Ensure all implementation of
PlayerInterface
have reference to aCasinoAccount
CasinoAccount
should not be garbage collected when aGameInterface
is garbage collected.
- Ensure at least 6 different implementations of
GameInterface
and a respectivePlayerInterface
are defined. - Ensure at least 1 implementation of
GameInterface
does not involve gambling. - Ensure at least 3 implementations of
GameInterface
involve gambling.