         
         if (totalCards > 0)
         {
-            var flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
-            team1Chance.text = "1-\(team2Cards) (\(flstring)%)"
+            if (team2Cards > 0)
+            {
+                let flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
+                team1Chance.text = "1-\(team2Cards) (\(flstring)%)"
+            }
+            else
+            {
+                //team 2 got no cards, team 1 chance is 0
+                team1Chance.text = "0 (0%)"
+            }
             
-            flstring = String(format:"%.2f", 100*Double(team2Cards)/Double(totalCards))
-            team2Chance.text = "\(team2Cards+1)-\(totalCards) (\(flstring)%)"
+            if (team1Cards > 0)
+            {
+                let flstring = String(format:"%.2f", 100*Double(team1Cards)/Double(totalCards))
+                team2Chance.text = "\(team2Cards+1)-\(totalCards) (\(flstring)%)"
+            }
+            else
+            {
+                //team 1 got no cards, team 2 chance is 0
+                team2Chance.text = "0 (0%)"
+            }
             
             rolledNumber.text = ""
             chosenTeam.text = ""

        {
            self.rolled = true
            
            let rand = Int(arc4random_uniform(UInt32(totalCards)))+1
            rolledNumber.text = "\(rand)";
            rollButton.setTitle("Continue", forState: .Normal)
            if (rand <= team2Cards)
            {
                chosenTeam.text = game.getTeamName(1)
            }
            else
            {
                chosenTeam.text = game.getTeamName(2);
            }
            
        }
    }
    

    var team2Cards:Int = 0;
    var totalCards:Int = 0;
    
    var timer:NSTimer?
    
    var delay:Double = 0.01;
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
