function spinAll()
        public
        nonContract
        gameActive
    {
        address _customerAddress = msg.sender;
        
        uint256 betAmount = tokenBalanceOf(_customerAddress);
        
        if (betAmount > betPool(_customerAddress)/10) {
            betAmount = betPool(_customerAddress)/10;
        }
        
        require(betAmount >= minBet);
        
        if (betAmount >= maxBet){
            betAmount = maxBet;
        }
        
        startSpin(betAmount, _customerAddress);
    }