public void run() {
		long time = System.currentTimeMillis();
		
		while(true) {
		
			try{
				Thread.sleep(20);
			} catch (Exception e) {}
		
			long current = System.currentTimeMillis();
				ball.advance(current - time);
				if (ball.collision()) {
					if (checkVictory()) {
						view.updateGameStatus(1);
						break;
					}
					if (checkDefeat()) {
						view.updateGameStatus(-1);
						break;
					}
				}
				padq.offer(new Position(myPaddle.getPosition()));
				ballq.offer(new Position(ball.getPosition()));
				time = current;
		}
		
	}