fn call(&mut self, bet: Money) {
        if self.stack + self.bet > bet {
            self.stack -= bet - self.bet;
            self.bet = bet;
        } else {
            self.stack = ZERO_MONEY;
            self.bet = bet;
        }
    }
/// if calling on more than you have, you are all in.
/// bet: the current bet that must be called.
if calling on more than you have, you are all in.
bet: the current bet that must be called.
if calling on more than you have you are all in . bet : the current bet that must be called .
fn call(&mut self, bet: Money) {
        if self.stack + self.bet > bet {
            self.stack -= bet - self.bet;
            self.bet = bet;
        } else {
            self.stack = ZERO_MONEY;
            self.bet = bet;
        }
    }
fn call ( & mut self , bet : Money ) { if self . stack + self . bet > bet { self . stack -= bet - self . bet ; self . bet = bet ; } else { self . stack = ZERO_MONEY ; self . bet = bet ; } }
if calling on more than you have, you are all in.
if calling on more than you have you are all in .
&mut self
bet
Money
&mut self
bet
Money