public void playGame() {
		boolean gameRunning = true;

		long currTime = System.currentTimeMillis();
		long timeStep;

		while (gameRunning) {
			timeStep = System.currentTimeMillis() - currTime;
			currTime += timeStep;

			moveAllObjects(timeStep);

			for (int index = 0; index <= row.topIndex(); index++) {

				if (row.Index(index).hitBy(bullet) == true) {
					row.remove(index);
					bullet.fire();
				}

				if (row.topIndex() == -1) {
					gameRunning = false;
					Countwin++;
					win = true;
				}

				if (row.Index(index).moving() == false) {
					gameRunning = false;
					win = false;
					Countloss++;
				}

			}

			graphicsUpdateStartOfLoop();
			drawAllObjects();
			graphicsUpdateEndOfLoop();

		}
	}