 
     // TODO: Where does one normally put formatting utility functions?
     func secondsRemainingAsString() -> String {
-        let minutes = secondsRemaining/60
-        let seconds = secondsRemaining % 60
+        
+        let minutes = Int(secondsRemaining)/60
+        let seconds = Int(secondsRemaining) % 60
         let spacer = seconds < 10 ? "0" : ""
         return "\(minutes):\(spacer)\(seconds)"
     }

    case Finished
}

class Player {
    let position: PlayerPosition
    var state = PlayerState.Waiting
    var secondsRemaining = 600
    
    init(position:PlayerPosition, state:PlayerState,secondsRemaining:Int){
        self.position = position
        self.state = state
        self.secondsRemaining = secondsRemaining

        topTimeView.label.transform = CGAffineTransformRotate(CGAffineTransformIdentity, CGFloat(M_PI))
        
        resetGameState()
        NSTimer.scheduledTimerWithTimeInterval(TIME_INTERVAL, target: self, selector: Selector("onClockTick"), userInfo: nil, repeats: true)
    }
    
    override func viewWillLayoutSubviews() {
