Player R6 Class

Player

Format

An object of class R6ClassGenerator of length 24.

Examples

setup("my_profile")
#> No records found. #> Storing player records at 'my_profile'
#> Updating value for environment variable 'CASINO_FILE'.
Player$new("Player 1")
#> You have no money!
#> Player: #> Name: Player 1 #> Balance: 100 #> Level: 0 #> Played: 1 #> Debt: 100
Player$new("Player 2")
#> You have no money!
#> Player: #> Name: Player 2 #> Balance: 100 #> Level: 0 #> Played: 1 #> Debt: 100